From adab98dd31eff75d56acd3e812bd458b9f66a7b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Kr=C3=BCss?= Date: Fri, 7 Dec 2018 13:09:28 -0800 Subject: [PATCH] test test test --- tests/BrewTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/BrewTest.php b/tests/BrewTest.php index 5c778413b..acc50b425 100644 --- a/tests/BrewTest.php +++ b/tests/BrewTest.php @@ -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('php@7.3')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.2')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.1')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.0')->andReturn(true); @@ -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('php@7.3')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.2')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.1')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.0')->andReturn(false); @@ -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('php@7.3')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.2')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.1')->andReturn(false); $brew->shouldReceive('installed')->with('php@7.0')->andReturn(false);