Skip to content

Commit

Permalink
Dev: fixed address for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ptelu committed Mar 2, 2020
1 parent 7f9f025 commit 273b213
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -107,6 +107,6 @@ before_script:

script:
# Run tests.
- DOMAIN=localhost ./third_party/bin/phpunit --stop-on-failure
- DOMAIN=localhost ./third_party/bin/phpunit
- yarn --cwd ./assets/packages/filemanager run test
- yarn --cwd ./assets/packages/adminbasics run test
3 changes: 1 addition & 2 deletions tests/TestHelper.php
Expand Up @@ -410,9 +410,8 @@ public function getWebDriver()
$webDriver = null;
do {
try {
$address = getenv('WEBDRIVERHOST') ?? 'localhost';
$address = getenv('WEBDRIVERHOST') ?: 'localhost';
$host = 'http://' . $address . ':' . TestBaseClassWeb::$webPort . '/wd/hub'; // this is the default
var_dump($host);
$capabilities = DesiredCapabilities::firefox();
$profile = new FirefoxProfile();
$profile->setPreference(FirefoxPreferences::READER_PARSE_ON_LOAD_ENABLED, false);
Expand Down

0 comments on commit 273b213

Please sign in to comment.