diff --git a/tests/functional/Web55ContainerCest.php b/tests/functional/Web55ContainerCest.php index a989d59..16c4bf4 100644 --- a/tests/functional/Web55ContainerCest.php +++ b/tests/functional/Web55ContainerCest.php @@ -117,8 +117,8 @@ public function bowerTest(AcceptanceTester $I){ public function bzip2Test(AcceptanceTester $I){ $I->wantTo("verify bzip2 is installed in the container"); - $I->runShellCommand("docker exec dev_web_56 bzip2 -V"); - $I->seeInShellOutput('Version 1.0.6'); + $I->runShellCommand("docker exec dev_web_55 apt list --installed | grep bzip2"); + $I->seeInShellOutput("bzip2/stable,now 1.0.6"); } public function phpModuleTest(AcceptanceTester $I){ diff --git a/tests/functional/Web56ContainerCest.php b/tests/functional/Web56ContainerCest.php index 8c63900..37ae4d7 100644 --- a/tests/functional/Web56ContainerCest.php +++ b/tests/functional/Web56ContainerCest.php @@ -117,8 +117,8 @@ public function bowerTest(AcceptanceTester $I){ public function bzip2Test(AcceptanceTester $I){ $I->wantTo("verify bzip2 is installed in the container"); - $I->runShellCommand("docker exec dev_web_56 bzip2 -V"); - $I->seeInShellOutput('Version 1.0.6'); + $I->runShellCommand("docker exec dev_web_55 apt list --installed | grep bzip2"); + $I->seeInShellOutput("bzip2/stable,now 1.0.6"); } public function phpModuleTest(AcceptanceTester $I){