mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 07:30:18 +05:30
Настроен code coverage для тестов php части
This commit is contained in:
parent
68cd18b9c6
commit
55de1c4993
@ -36,6 +36,7 @@ use yii\db\ActiveRecord;
|
||||
* @mixin TimestampBehavior
|
||||
*/
|
||||
class Account extends ActiveRecord {
|
||||
|
||||
const STATUS_DELETED = -10;
|
||||
const STATUS_REGISTERED = 0;
|
||||
const STATUS_ACTIVE = 10;
|
||||
|
@ -15,3 +15,15 @@ config:
|
||||
# the entry script URL (with host info) for functional tests
|
||||
# PLEASE ADJUST IT TO THE ACTUAL ENTRY SCRIPT URL
|
||||
test_entry_url: http://localhost:8080/api/web/index-test.php
|
||||
coverage:
|
||||
enabled: true
|
||||
remote: true
|
||||
whitelist:
|
||||
include:
|
||||
- ../../../api/*
|
||||
exclude:
|
||||
- ../../../api/config/*
|
||||
- ../../../api/mails/*
|
||||
- ../../../api/web/*
|
||||
- ../../../api/runtime/*
|
||||
c3url: 'http://localhost:8080/api/web/index-test.php'
|
||||
|
@ -11,3 +11,11 @@ settings:
|
||||
colors: true
|
||||
memory_limit: 1024M
|
||||
log: true
|
||||
coverage:
|
||||
enabled: true
|
||||
whitelist:
|
||||
include:
|
||||
- ../../../common/*
|
||||
exclude:
|
||||
- ../../../common/config/*
|
||||
- ../../../common/mail/*
|
||||
|
@ -11,3 +11,13 @@ settings:
|
||||
colors: true
|
||||
memory_limit: 1024M
|
||||
log: true
|
||||
coverage:
|
||||
enabled: true
|
||||
whitelist:
|
||||
include:
|
||||
- ../../../console/*
|
||||
exclude:
|
||||
- ../../../console/config/*
|
||||
- ../../../console/runtime/*
|
||||
- ../../../console/migrations/*
|
||||
- ../../../console/views/*
|
||||
|
Loading…
Reference in New Issue
Block a user