Commit c74f0698 authored by Tobias Munk's avatar Tobias Munk

updated CLI tests

parent 524206a0
Pipeline #8556 failed with stages
...@@ -5,6 +5,8 @@ $I = new CliTester($scenario); ...@@ -5,6 +5,8 @@ $I = new CliTester($scenario);
$I->wantTo('check asset bundling'); $I->wantTo('check asset bundling');
$I->runShellCommand('mkdir -p web/assets-prod/js'); $I->runShellCommand('mkdir -p web/assets-prod/js');
$I->runShellCommand('mkdir -p web/assets-prod/css');
$I->runShellCommand('yii asset src/config/assets-prod.php src/config/bundle-prod.php'); $I->runShellCommand('yii asset src/config/assets-prod.php src/config/bundle-prod.php');
$I->seeInShellOutput('Output bundle configuration created at'); $I->seeInShellOutput('Output bundle configuration created at');
...@@ -4,11 +4,11 @@ ...@@ -4,11 +4,11 @@
$I = new CliTester($scenario); $I = new CliTester($scenario);
$I->runShellCommand("/app/yii help gii"); $I->runShellCommand("yii help gii");
$I->seeInShellOutput('DESCRIPTION'); $I->seeInShellOutput('DESCRIPTION');
$I->seeInShellOutput('SUB-COMMANDS'); $I->seeInShellOutput('SUB-COMMANDS');
$I->seeInShellOutput('gii/'); $I->seeInShellOutput('gii/');
$I->runShellCommand("/app/yii help gii/giiant-crud"); $I->runShellCommand("yii help gii/giiant-crud");
$I->seeInShellOutput('DESCRIPTION'); $I->seeInShellOutput('DESCRIPTION');
$I->seeInShellOutput('yii gii/giiant-crud'); $I->seeInShellOutput('yii gii/giiant-crud');
...@@ -4,5 +4,5 @@ ...@@ -4,5 +4,5 @@
$I = new CliTester($scenario); $I = new CliTester($scenario);
$I->runShellCommand('/app/yii'); $I->runShellCommand('yii');
$I->seeInShellOutput('This is Yii version 2.0.'); $I->seeInShellOutput('This is Yii version 2.0.');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment