Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justafish committed Dec 13, 2023
1 parent c24b0ee commit 4cb7ec7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<!--<server name="WEB_FIXTURES_BROWSER" value="firefox"/>-->

<!-- where driver will connect to -->
<!-- <server name="DRIVER_URL" value=""http://localhost:4444" /> -->
<!-- <server name="DRIVER_URL" value="http://localhost:4444" /> -->

<!-- where DocumentRoot of 'Test Machine' is mounted to on 'Driver Machine' (only if these are 2 different machines) -->
<!--server name="DRIVER_MACHINE_BASE_PATH" value="" /-->
Expand Down
2 changes: 1 addition & 1 deletion tests/Selenium2Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public static function getInstance(): self
public function createDriver(): DriverInterface
{
$browser = getenv('WEB_FIXTURES_BROWSER') ?: 'firefox';
$seleniumHost = !empty(getenv('DRIVER_URL')) ? getenv('DRIVER_URL') : '"http://localhost:4444';
$seleniumHost = !empty(getenv('DRIVER_URL')) ? getenv('DRIVER_URL') : 'http://localhost:4444';

return new Selenium2Driver($browser, null, $seleniumHost);
}
Expand Down

0 comments on commit 4cb7ec7

Please sign in to comment.