forked from edusoho/edusoho
-
Notifications
You must be signed in to change notification settings - Fork 0
/
api.suite.yml
18 lines (17 loc) · 1.01 KB
/
api.suite.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
actor: ApiTester
modules:
enabled:
- Db:
dsn: 'mysql:host=mysql;dbname=edusoho_test'
user: 'root'
password:
dump: tests/_data/api-test-data.sql
cleanup: false # reload dump between tests
populate: true # load dump before all tests
#app/console plugin:remove Vip && app/console plugin:register Vip && app/console plugin:remove ChargeCoin && app/console plugin:register ChargeCoin && app/console plugin:remove Coupon && app/console plugin:register Coupon && app/console plugin:remove Discount && app/console plugin:register Discount && app/console plugin:remove MoneyCard && app/console plugin:register MoneyCard;
populator: 'curl -o tests/_data/api-test-data.sql http://download-devtest.codeages.net/api-test-data/20201029test.sql;mysql -h $host -u $user $dbname < tests/_data/api-test-data.sql'
- REST:
url: http://127.0.0.1:8000/api
depends: PhpBrowser
part: Json
- \Helper\Api