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
a9445b4a
Commit
a9445b4a
authored
Aug 24, 2014
by
Alexander Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added description to each test config of advanced application
parent
c9d51ee0
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
31 additions
and
1 deletion
+31
-1
acceptance.php
.../advanced/tests/codeception/config/backend/acceptance.php
+4
-0
config.php
apps/advanced/tests/codeception/config/backend/config.php
+4
-0
functional.php
.../advanced/tests/codeception/config/backend/functional.php
+3
-0
unit.php
apps/advanced/tests/codeception/config/backend/unit.php
+3
-0
unit.php
apps/advanced/tests/codeception/config/console/unit.php
+3
-1
acceptance.php
...advanced/tests/codeception/config/frontend/acceptance.php
+4
-0
config.php
apps/advanced/tests/codeception/config/frontend/config.php
+4
-0
functional.php
...advanced/tests/codeception/config/frontend/functional.php
+3
-0
unit.php
apps/advanced/tests/codeception/config/frontend/unit.php
+3
-0
No files found.
apps/advanced/tests/codeception/config/backend/acceptance.php
View file @
a9445b4a
<?php
<?php
defined
(
'YII_APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
defined
(
'YII_APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
/**
* Application configuration for backend acceptance tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/common/config/main.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
.
'/common/config/main-local.php'
),
...
...
apps/advanced/tests/codeception/config/backend/config.php
View file @
a9445b4a
<?php
<?php
/**
* Application configuration for all backend test types
*/
return
[];
return
[];
\ No newline at end of file
apps/advanced/tests/codeception/config/backend/functional.php
View file @
a9445b4a
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
$_SERVER
[
'SCRIPT_FILENAME'
]
=
YII_TEST_BACKEND_ENTRY_FILE
;
$_SERVER
[
'SCRIPT_FILENAME'
]
=
YII_TEST_BACKEND_ENTRY_FILE
;
$_SERVER
[
'SCRIPT_NAME'
]
=
YII_BACKEND_TEST_ENTRY_URL
;
$_SERVER
[
'SCRIPT_NAME'
]
=
YII_BACKEND_TEST_ENTRY_URL
;
/**
* Application configuration for backend functional tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/backend/config/main.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
.
'/backend/config/main-local.php'
),
...
...
apps/advanced/tests/codeception/config/backend/unit.php
View file @
a9445b4a
<?php
<?php
/**
* Application configuration for backend unit tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/common/config/main.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
.
'/common/config/main-local.php'
),
...
...
apps/advanced/tests/codeception/config/console/unit.php
View file @
a9445b4a
<?php
<?php
/**
* Application configuration for console unit tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/common/config/main.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
.
'/common/config/main-local.php'
),
...
...
apps/advanced/tests/codeception/config/frontend/acceptance.php
View file @
a9445b4a
<?php
<?php
defined
(
'YII_APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
defined
(
'YII_APP_BASE_PATH'
)
or
define
(
'YII_APP_BASE_PATH'
,
dirname
(
dirname
(
dirname
(
dirname
(
__DIR__
)))));
/**
* Application configuration for frontend acceptance tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/common/config/main.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
.
'/common/config/main-local.php'
),
...
...
apps/advanced/tests/codeception/config/frontend/config.php
View file @
a9445b4a
<?php
<?php
/**
* Application configuration for all frontend test types
*/
return
[];
return
[];
\ No newline at end of file
apps/advanced/tests/codeception/config/frontend/functional.php
View file @
a9445b4a
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
$_SERVER
[
'SCRIPT_FILENAME'
]
=
FRONTEND_ENTRY_FILE
;
$_SERVER
[
'SCRIPT_FILENAME'
]
=
FRONTEND_ENTRY_FILE
;
$_SERVER
[
'SCRIPT_NAME'
]
=
FRONTEND_ENTRY_URL
;
$_SERVER
[
'SCRIPT_NAME'
]
=
FRONTEND_ENTRY_URL
;
/**
* Application configuration for frontend functional tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/common/config/main.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
.
'/common/config/main-local.php'
),
...
...
apps/advanced/tests/codeception/config/frontend/unit.php
View file @
a9445b4a
<?php
<?php
/**
* Application configuration for frontend unit tests
*/
return
yii\helpers\ArrayHelper
::
merge
(
return
yii\helpers\ArrayHelper
::
merge
(
require
(
YII_APP_BASE_PATH
.
'/common/config/main.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
.
'/common/config/main-local.php'
),
...
...
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