Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Fonseca committed Aug 7, 2015
1 parent 91ef00e commit 036a901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/Unit/StarterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 036a901

Please sign in to comment.