Skip to content

Commit

Permalink
correcting version check on dependency test for cron, mysql-client an…
Browse files Browse the repository at this point in the history
…d bzip
  • Loading branch information
rshariffdeen committed Apr 4, 2017
1 parent 6c388ad commit 651185c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions tests/functional/Web55ContainerCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public function apacheRunningTest(AcceptanceTester $I){
public function cronTest(AcceptanceTester $I){
$I->wantTo("verify cron is installed in the container");
$I->runShellCommand("docker exec dev_web_55 apt list --installed | grep cron");
$I->seeInShellOutput('cron/now 3.0');
$I->seeInShellOutput('3.0');
}

public function mysqlClientTest(AcceptanceTester $I){
$I->wantTo("verify mysql-client is installed in the container");
$I->runShellCommand("docker exec dev_web_55 apt list --installed | grep mysql-client");
$I->seeInShellOutput('mysql-client/now 5.5');
$I->seeInShellOutput('5.5');
}

public function libreOfficeTest(AcceptanceTester $I){
Expand Down Expand Up @@ -118,7 +118,7 @@ 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_55 apt list --installed | grep bzip2");
$I->seeInShellOutput("bzip2/stable,now 1.0.6");
$I->seeInShellOutput("1.0.6");
}

public function phpModuleTest(AcceptanceTester $I){
Expand Down
6 changes: 3 additions & 3 deletions tests/functional/Web56ContainerCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public function apacheRunningTest(AcceptanceTester $I){
public function cronTest(AcceptanceTester $I){
$I->wantTo("verify cron is installed in the container");
$I->runShellCommand("docker exec dev_web_56 apt list --installed | grep cron");
$I->seeInShellOutput('cron/now 3.0');
$I->seeInShellOutput('3.0');
}

public function mysqlClientTest(AcceptanceTester $I){
$I->wantTo("verify mysql-client is installed in the container");
$I->runShellCommand("docker exec dev_web_56 apt list --installed | grep mysql-client");
$I->seeInShellOutput('mysql-client/now 5.5');
$I->seeInShellOutput('5.5');
}

public function libreOfficeTest(AcceptanceTester $I){
Expand Down Expand Up @@ -118,7 +118,7 @@ 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_55 apt list --installed | grep bzip2");
$I->seeInShellOutput("bzip2/stable,now 1.0.6");
$I->seeInShellOutput("1.0.6");
}

public function phpModuleTest(AcceptanceTester $I){
Expand Down

0 comments on commit 651185c

Please sign in to comment.