Skip to content

Commit

Permalink
test test test
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss authored and mattstauffer committed Dec 7, 2018
1 parent 9d66cb6 commit adab98d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/BrewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,12 @@ public function test_has_installed_php_indicates_if_php_is_installed_via_brew()

$brew = Mockery::mock(Brew::class.'[installed]', [new CommandLine, new Filesystem]);
$brew->shouldReceive('installed')->with('php')->andReturn(false);
$brew->shouldReceive('installed')->with('php73')->andReturn(false);
$brew->shouldReceive('installed')->with('php72')->andReturn(false);
$brew->shouldReceive('installed')->with('php71')->andReturn(false);
$brew->shouldReceive('installed')->with('php70')->andReturn(true);
$brew->shouldReceive('installed')->with('php56')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(true);
Expand All @@ -108,10 +110,12 @@ public function test_has_installed_php_indicates_if_php_is_installed_via_brew()

$brew = Mockery::mock(Brew::class.'[installed]', [new CommandLine, new Filesystem]);
$brew->shouldReceive('installed')->with('php')->andReturn(false);
$brew->shouldReceive('installed')->with('php73')->andReturn(false);
$brew->shouldReceive('installed')->with('php72')->andReturn(false);
$brew->shouldReceive('installed')->with('php71')->andReturn(false);
$brew->shouldReceive('installed')->with('php70')->andReturn(false);
$brew->shouldReceive('installed')->with('php56')->andReturn(true);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
Expand All @@ -120,10 +124,12 @@ public function test_has_installed_php_indicates_if_php_is_installed_via_brew()

$brew = Mockery::mock(Brew::class.'[installed]', [new CommandLine, new Filesystem]);
$brew->shouldReceive('installed')->with('php')->andReturn(false);
$brew->shouldReceive('installed')->with('php73')->andReturn(false);
$brew->shouldReceive('installed')->with('php72')->andReturn(false);
$brew->shouldReceive('installed')->with('php71')->andReturn(false);
$brew->shouldReceive('installed')->with('php70')->andReturn(false);
$brew->shouldReceive('installed')->with('php56')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
$brew->shouldReceive('installed')->with('[email protected]')->andReturn(false);
Expand Down

0 comments on commit adab98d

Please sign in to comment.