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
5d67ac44
Commit
5d67ac44
authored
Aug 19, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed YII_ROOT_DIR → YII_APP_BASE_PATH
parent
02f89455
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
72 additions
and
72 deletions
+72
-72
_bootstrap.php
apps/advanced/tests/codeception/backend/_bootstrap.php
+5
-5
_bootstrap.php
apps/advanced/tests/codeception/bin/_bootstrap.php
+4
-4
yii_acceptance
apps/advanced/tests/codeception/bin/yii_acceptance
+4
-4
yii_functional
apps/advanced/tests/codeception/bin/yii_functional
+4
-4
yii_unit
apps/advanced/tests/codeception/bin/yii_unit
+4
-4
_bootstrap.php
apps/advanced/tests/codeception/common/_bootstrap.php
+4
-4
acceptance.php
.../advanced/tests/codeception/config/backend/acceptance.php
+5
-5
functional.php
.../advanced/tests/codeception/config/backend/functional.php
+4
-4
unit.php
apps/advanced/tests/codeception/config/backend/unit.php
+4
-4
unit.php
apps/advanced/tests/codeception/config/common/unit.php
+2
-2
unit.php
apps/advanced/tests/codeception/config/console/unit.php
+4
-4
acceptance.php
...advanced/tests/codeception/config/frontend/acceptance.php
+5
-5
functional.php
...advanced/tests/codeception/config/frontend/functional.php
+4
-4
unit.php
apps/advanced/tests/codeception/config/frontend/unit.php
+4
-4
_bootstrap.php
apps/advanced/tests/codeception/console/_bootstrap.php
+4
-4
_bootstrap.php
apps/advanced/tests/codeception/frontend/_bootstrap.php
+5
-5
_bootstrap.php
apps/basic/tests/codeception/bin/_bootstrap.php
+3
-3
yii_acceptance
apps/basic/tests/codeception/bin/yii_acceptance
+1
-1
yii_functional
apps/basic/tests/codeception/bin/yii_functional
+1
-1
yii_unit
apps/basic/tests/codeception/bin/yii_unit
+1
-1
No files found.
apps/advanced/tests/codeception/backend/_bootstrap.php
View file @
5d67ac44
...
...
@@ -2,14 +2,14 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_BACKEND_TEST_ENTRY_URL'
)
or
define
(
'YII_BACKEND_TEST_ENTRY_URL'
,
\Codeception\Configuration
::
config
()[
'config'
][
'test_entry_url'
]);
defined
(
'YII_TEST_BACKEND_ENTRY_FILE'
)
or
define
(
'YII_TEST_BACKEND_ENTRY_FILE'
,
YII_
ROOT_DIR
.
'/backend/web/index-test.php'
);
defined
(
'YII_TEST_BACKEND_ENTRY_FILE'
)
or
define
(
'YII_TEST_BACKEND_ENTRY_FILE'
,
YII_
APP_BASE_PATH
.
'/backend/web/index-test.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/autoload.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
ROOT_DIR
.
'/common/config/aliases.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/autoload.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
APP_BASE_PATH
.
'/common/config/aliases.php'
);
// set correct script paths
...
...
apps/advanced/tests/codeception/bin/_bootstrap.php
View file @
5d67ac44
...
...
@@ -11,11 +11,11 @@
defined
(
'STDIN'
)
or
define
(
'STDIN'
,
fopen
(
'php://stdin'
,
'r'
));
defined
(
'STDOUT'
)
or
define
(
'STDOUT'
,
fopen
(
'php://stdout'
,
'w'
));
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
require_once
(
YII_
ROOT_DIR
.
'/vendor/autoload.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/yiisoft/yii2/Yii.php'
);
require_once
(
YII_
ROOT_DIR
.
'/common/config/aliases.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/autoload.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/common/config/aliases.php'
);
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
apps/advanced/tests/codeception/bin/yii_acceptance
View file @
5d67ac44
...
...
@@ -11,10 +11,10 @@
require_once
__DIR__
.
'/_bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config/acceptance.php'
),
[
'controllerMap'
=>
[
...
...
apps/advanced/tests/codeception/bin/yii_functional
View file @
5d67ac44
...
...
@@ -11,10 +11,10 @@
require_once
__DIR__
.
'/_bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config/functional.php'
),
[
'controllerMap'
=>
[
...
...
apps/advanced/tests/codeception/bin/yii_unit
View file @
5d67ac44
...
...
@@ -11,10 +11,10 @@
require_once
__DIR__
.
'/_bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config/unit.php'
),
[
'controllerMap'
=>
[
...
...
apps/advanced/tests/codeception/common/_bootstrap.php
View file @
5d67ac44
...
...
@@ -2,11 +2,11 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
require_once
(
YII_
ROOT_DIR
.
'/vendor/autoload.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
ROOT_DIR
.
'/common/config/aliases.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/autoload.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
APP_BASE_PATH
.
'/common/config/aliases.php'
);
// set correct script paths
$_SERVER
[
'SERVER_NAME'
]
=
'localhost'
;
...
...
apps/advanced/tests/codeception/config/backend/acceptance.php
View file @
5d67ac44
<?php
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/backend/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/backend/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/backend/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/backend/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/acceptance.php'
),
require
(
__DIR__
.
'/config.php'
),
...
...
apps/advanced/tests/codeception/config/backend/functional.php
View file @
5d67ac44
...
...
@@ -3,10 +3,10 @@ $_SERVER['SCRIPT_FILENAME'] = YII_TEST_BACKEND_ENTRY_FILE;
$_SERVER
[
'SCRIPT_NAME'
]
=
YII_BACKEND_TEST_ENTRY_URL
;
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/backend/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/backend/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/backend/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/backend/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/functional.php'
),
require
(
__DIR__
.
'/config.php'
),
...
...
apps/advanced/tests/codeception/config/backend/unit.php
View file @
5d67ac44
<?php
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/backend/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/backend/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/backend/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/backend/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/unit.php'
),
require
(
__DIR__
.
'/config.php'
),
...
...
apps/advanced/tests/codeception/config/common/unit.php
View file @
5d67ac44
...
...
@@ -3,8 +3,8 @@
* Application config for common unit tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/unit.php'
),
[
...
...
apps/advanced/tests/codeception/config/console/unit.php
View file @
5d67ac44
<?php
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/console/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/console/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/unit.php'
),
[
...
...
apps/advanced/tests/codeception/config/frontend/acceptance.php
View file @
5d67ac44
<?php
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/frontend/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/frontend/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/frontend/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/frontend/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/acceptance.php'
),
require
(
__DIR__
.
'/config.php'
),
...
...
apps/advanced/tests/codeception/config/frontend/functional.php
View file @
5d67ac44
...
...
@@ -3,10 +3,10 @@ $_SERVER['SCRIPT_FILENAME'] = FRONTEND_ENTRY_FILE;
$_SERVER
[
'SCRIPT_NAME'
]
=
FRONTEND_ENTRY_URL
;
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/frontend/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/frontend/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/frontend/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/frontend/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/functional.php'
),
require
(
__DIR__
.
'/config.php'
),
...
...
apps/advanced/tests/codeception/config/frontend/unit.php
View file @
5d67ac44
<?php
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/common/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/common/config/main-local.php'
),
require
(
YII_
ROOT_DIR
.
'/frontend/config/main.php'
),
require
(
YII_
ROOT_DIR
.
'/frontend/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/common/config/main-local.php'
),
require
(
YII_
APP_BASE_PATH
.
'/frontend/config/main.php'
),
require
(
YII_
APP_BASE_PATH
.
'/frontend/config/main-local.php'
),
require
(
dirname
(
__DIR__
)
.
'/config.php'
),
require
(
dirname
(
__DIR__
)
.
'/unit.php'
),
require
(
__DIR__
.
'/config.php'
),
...
...
apps/advanced/tests/codeception/console/_bootstrap.php
View file @
5d67ac44
...
...
@@ -2,11 +2,11 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
require_once
(
YII_
ROOT_DIR
.
'/vendor/autoload.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
ROOT_DIR
.
'/common/config/aliases.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/autoload.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
APP_BASE_PATH
.
'/common/config/aliases.php'
);
// set correct script paths
$_SERVER
[
'SERVER_NAME'
]
=
'localhost'
;
...
...
apps/advanced/tests/codeception/frontend/_bootstrap.php
View file @
5d67ac44
...
...
@@ -2,14 +2,14 @@
defined
(
'YII_DEBUG'
)
or
define
(
'YII_DEBUG'
,
true
);
defined
(
'YII_ENV'
)
or
define
(
'YII_ENV'
,
'test'
);
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'FRONTEND_ENTRY_URL'
)
or
define
(
'FRONTEND_ENTRY_URL'
,
\Codeception\Configuration
::
config
()[
'config'
][
'test_entry_url'
]);
defined
(
'FRONTEND_ENTRY_FILE'
)
or
define
(
'FRONTEND_ENTRY_FILE'
,
YII_
ROOT_DIR
.
'/frontend/web/index-test.php'
);
defined
(
'FRONTEND_ENTRY_FILE'
)
or
define
(
'FRONTEND_ENTRY_FILE'
,
YII_
APP_BASE_PATH
.
'/frontend/web/index-test.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/autoload.php'
);
require_once
(
YII_
ROOT_DIR
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
ROOT_DIR
.
'/common/config/aliases.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/autoload.php'
);
require_once
(
YII_
APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
APP_BASE_PATH
.
'/common/config/aliases.php'
);
// set correct script paths
...
...
apps/basic/tests/codeception/bin/_bootstrap.php
View file @
5d67ac44
...
...
@@ -6,7 +6,7 @@ defined('YII_ENV') or define('YII_ENV', 'test');
defined
(
'STDIN'
)
or
define
(
'STDIN'
,
fopen
(
'php://stdin'
,
'r'
));
defined
(
'STDOUT'
)
or
define
(
'STDOUT'
,
fopen
(
'php://stdout'
,
'w'
));
defined
(
'YII_
ROOT_DIR'
)
or
define
(
'YII_ROOT_DIR
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
defined
(
'YII_
APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH
'
,
dirname
(
dirname
(
dirname
(
__DIR__
))));
require
(
YII_
ROOT_DIR
.
'/vendor/autoload.php'
);
require
(
YII_
ROOT_DIR
.
'/vendor/yiisoft/yii2/Yii.php'
);
require
(
YII_
APP_BASE_PATH
.
'/vendor/autoload.php'
);
require
(
YII_
APP_BASE_PATH
.
'/vendor/yiisoft/yii2/Yii.php'
);
apps/basic/tests/codeception/bin/yii_acceptance
View file @
5d67ac44
...
...
@@ -11,7 +11,7 @@
require_once
__DIR__
.
'/_bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/config/console.php'
),
require
(
YII_
APP_BASE_PATH
.
'/config/console.php'
),
require
(
__DIR__
.
'/../config/config.php'
),
[
'components'
=>
[
...
...
apps/basic/tests/codeception/bin/yii_functional
View file @
5d67ac44
...
...
@@ -11,7 +11,7 @@
require_once
__DIR__
.
'/_bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/config/console.php'
),
require
(
YII_
APP_BASE_PATH
.
'/config/console.php'
),
require
(
__DIR__
.
'/../config/config.php'
),
[
'components'
=>
[
...
...
apps/basic/tests/codeception/bin/yii_unit
View file @
5d67ac44
...
...
@@ -11,7 +11,7 @@
require_once
__DIR__
.
'/_bootstrap.php'
;
$config
=
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_
ROOT_DIR
.
'/config/console.php'
),
require
(
YII_
APP_BASE_PATH
.
'/config/console.php'
),
require
(
__DIR__
.
'/../config/config.php'
),
[
'components'
=>
[
...
...
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