Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
51300fc9
Commit
51300fc9
authored
Aug 26, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Used aliases for fixture directory definitions
parent
37864402
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
_bootstrap.php
apps/advanced/tests/codeception/bin/_bootstrap.php
+3
-0
yii
apps/advanced/tests/codeception/bin/yii
+2
-2
_bootstrap.php
apps/basic/tests/codeception/bin/_bootstrap.php
+2
-0
yii
apps/basic/tests/codeception/bin/yii
+2
-2
No files found.
apps/advanced/tests/codeception/bin/_bootstrap.php
View file @
51300fc9
...
@@ -19,3 +19,5 @@ require_once(YII_APP_BASE_PATH . '/common/config/aliases.php');
...
@@ -19,3 +19,5 @@ require_once(YII_APP_BASE_PATH . '/common/config/aliases.php');
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
Yii
::
setAlias
(
'@tests'
,
dirname
(
dirname
(
__DIR__
)));
\ No newline at end of file
apps/advanced/tests/codeception/bin/yii
View file @
51300fc9
...
@@ -20,8 +20,8 @@ $config = yii\helpers\ArrayHelper::merge(
...
@@ -20,8 +20,8 @@ $config = yii\helpers\ArrayHelper::merge(
'controllerMap'
=>
[
'controllerMap'
=>
[
'fixture'
=>
[
'fixture'
=>
[
'class'
=>
'yii\faker\FixtureController'
,
'class'
=>
'yii\faker\FixtureController'
,
'fixtureDataPath'
=>
dirname
(
__DIR__
)
.
'
common/fixtures'
,
'fixtureDataPath'
=>
'@tests/codeception/
common/fixtures'
,
'templatePath'
=>
dirname
(
__DIR__
)
.
'common/templates'
'templatePath'
=>
'@tests/codeception/common/templates'
,
],
],
],
],
]
]
...
...
apps/basic/tests/codeception/bin/_bootstrap.php
View file @
51300fc9
...
@@ -10,3 +10,5 @@ defined('YII_APP_BASE_PATH') or define('YII_APP_BASE_PATH', dirname(dirname(dirn
...
@@ -10,3 +10,5 @@ defined('YII_APP_BASE_PATH') or define('YII_APP_BASE_PATH', dirname(dirname(dirn
require
(
YII_APP_BASE_PATH
.
'/vendor/autoload.php'
);
require
(
YII_APP_BASE_PATH
.
'/vendor/autoload.php'
);
require
(
YII_APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
Yii
::
setAlias
(
'@tests'
,
dirname
(
dirname
(
__DIR__
)));
apps/basic/tests/codeception/bin/yii
View file @
51300fc9
...
@@ -17,8 +17,8 @@ $config = yii\helpers\ArrayHelper::merge(
...
@@ -17,8 +17,8 @@ $config = yii\helpers\ArrayHelper::merge(
'controllerMap'
=>
[
'controllerMap'
=>
[
'fixture'
=>
[
'fixture'
=>
[
'class'
=>
'yii\faker\FixtureController'
,
'class'
=>
'yii\faker\FixtureController'
,
'fixtureDataPath'
=>
dirname
(
__DIR__
)
.
'
fixtures'
,
'fixtureDataPath'
=>
'@tests/codeception/
fixtures'
,
'templatePath'
=>
dirname
(
__DIR__
)
.
'
templates'
'templatePath'
=>
'@tests/codeception/
templates'
],
],
],
],
]
]
...
...
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