Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ env:

# Drupal specific variables.
- DRUPAL_TI_DB="drupal_travis_db"
- DRUPAL_TI_DB_URL="mysql://root:@localhost/drupal_travis_db"
- DRUPAL_TI_DB_URL="mysql://root:@127.0.0.1/drupal_travis_db"
# Note: Do not add a trailing slash here.
- DRUPAL_TI_WEBSERVER_URL="http://localhost"
- DRUPAL_TI_WEBSERVER_URL="http://127.0.0.1"
- DRUPAL_TI_WEBSERVER_PORT="8080"

# Simpletest specific commandline arguments, the DRUPAL_TI_SIMPLETEST_GROUP is appended at the end.
Expand All @@ -68,7 +68,7 @@ env:
- DRUPAL_TI_BEHAT_BROWSER="firefox"

# PHPUnit specific commandline arguments.
- DRUPAL_TI_PHPUNIT_ARGS=""
- DRUPAL_TI_PHPUNIT_ARGS="-c ./phpunit.xml.dist"
# Specifying the phpunit-core src/ directory is useful when e.g. a vendor/
# directory is present in the module directory, which phpunit would then
# try to find tests in. This option is relative to $TRAVIS_BUILD_DIR.
Expand Down Expand Up @@ -111,6 +111,7 @@ install:

before_script:
- drupal-ti before_script
- drush en views --yes

script:
- export SIMPLETEST_DB=mysql://root:@127.0.0.1/drupal_travis_db
Expand Down
2 changes: 2 additions & 0 deletions sms.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ configure: admin/config/smsframework
dependencies:
- telephone
- dynamic_entity_reference
test_dependencies:
- views
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Drupal\Tests\sms\Kernel;
namespace Drupal\sms\Tests\Kernel;

use Drupal\sms\Tests\SmsFrameworkTestTrait;
use Drupal\Tests\views\Kernel\ViewsKernelTestBase;
Expand Down