diff --git a/tests/Unit/StarterTest.php b/tests/Unit/StarterTest.php index 1aa9c0d..6e9f347 100644 --- a/tests/Unit/StarterTest.php +++ b/tests/Unit/StarterTest.php @@ -73,6 +73,9 @@ public function testNotAFileThrowsException() public function testNotReadableThrowsException() { $jarLocation = __DIR__.'/../fixtures/selenium-no-permissions.jar'; + + chmod($jarLocation, 100); + $this->seleniumOptions->expects($this->any())->method('getSeleniumQuery')->willReturn('not_empty'); $this->seleniumOptions->expects($this->any())->method('getSeleniumUrl')->willReturn('not_empty'); $this->seleniumOptions->expects($this->any())->method('getSeleniumJarLocation')->willReturn($jarLocation);