Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
phundament
app
Commits
c74f0698
Commit
c74f0698
authored
Apr 03, 2016
by
Tobias Munk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated CLI tests
parent
524206a0
Pipeline
#8556
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
AssetBundleCept.php
tests/codeception/cli/AssetBundleCept.php
+2
-0
GiiCept.php
tests/codeception/cli/GiiCept.php
+2
-2
YiiCept.php
tests/codeception/cli/YiiCept.php
+1
-1
No files found.
tests/codeception/cli/AssetBundleCept.php
View file @
c74f0698
...
...
@@ -5,6 +5,8 @@ $I = new CliTester($scenario);
$I
->
wantTo
(
'check asset bundling'
);
$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
->
seeInShellOutput
(
'Output bundle configuration created at'
);
tests/codeception/cli/GiiCept.php
View file @
c74f0698
...
...
@@ -4,11 +4,11 @@
$I
=
new
CliTester
(
$scenario
);
$I
->
runShellCommand
(
"
/app/
yii help gii"
);
$I
->
runShellCommand
(
"yii help gii"
);
$I
->
seeInShellOutput
(
'DESCRIPTION'
);
$I
->
seeInShellOutput
(
'SUB-COMMANDS'
);
$I
->
seeInShellOutput
(
'gii/'
);
$I
->
runShellCommand
(
"
/app/
yii help gii/giiant-crud"
);
$I
->
runShellCommand
(
"yii help gii/giiant-crud"
);
$I
->
seeInShellOutput
(
'DESCRIPTION'
);
$I
->
seeInShellOutput
(
'yii gii/giiant-crud'
);
tests/codeception/cli/YiiCept.php
View file @
c74f0698
...
...
@@ -4,5 +4,5 @@
$I
=
new
CliTester
(
$scenario
);
$I
->
runShellCommand
(
'
/app/
yii'
);
$I
->
runShellCommand
(
'yii'
);
$I
->
seeInShellOutput
(
'This is Yii version 2.0.'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment