Skip to content

Commit

Permalink
adding correct test case for bzip2
Browse files Browse the repository at this point in the history
  • Loading branch information
rshariffdeen committed Apr 4, 2017
1 parent 86ccd28 commit 6c388ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/functional/Web55ContainerCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down
4 changes: 2 additions & 2 deletions tests/functional/Web56ContainerCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 6c388ad

Please sign in to comment.