diff --git a/tests/Unit/Driver/PantherFactoryTest.php b/tests/Unit/Driver/PantherFactoryTest.php index c970b39..16a638e 100644 --- a/tests/Unit/Driver/PantherFactoryTest.php +++ b/tests/Unit/Driver/PantherFactoryTest.php @@ -87,7 +87,7 @@ public function test_build_chrome_driver_with_chrome_options_as_object_instead_o ], 'args' => ['start-maximized'], 'binary' => ['/path/to/acme'], - 'extensions' => ['/var/www/html/tests/fixtures/extension_dummy.ext'], + 'extensions' => ['tests/fixtures/extension_dummy.ext'], ], ], ], @@ -111,7 +111,7 @@ public function test_build_chrome_driver_with_chrome_options_as_object_instead_o // base64 encoded value of extension file content $this->assertSame(['MTIzNDU2Nzg5MA=='], $chromeOptions['extensions']); } else { - $this->assertSame(['/var/www/html/tests/fixtures/extension_dummy.ext'], $chromeOptions['extensions']); + $this->assertSame(['tests/fixtures/extension_dummy.ext'], $chromeOptions['extensions']); } $this->assertSame(['download.default_directory' => '/var/www/html/tests/files/Downloads'], $chromeOptions['prefs']);