yii2_basic_tests
database is renamed to yii2basic_test
(#232)
This commit is contained in:
parent
e319588b18
commit
7cc58b3e39
@ -21,7 +21,7 @@ services:
|
|||||||
- mysql
|
- mysql
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS yii2_basic_tests;'
|
- mysql -e 'CREATE DATABASE IF NOT EXISTS yii2basic_test;'
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- travis_retry composer self-update && composer --version
|
- travis_retry composer self-update && composer --version
|
||||||
|
@ -186,7 +186,7 @@ To execute acceptance tests do the following:
|
|||||||
docker run --net=host selenium/standalone-firefox:2.53.0
|
docker run --net=host selenium/standalone-firefox:2.53.0
|
||||||
```
|
```
|
||||||
|
|
||||||
5. (Optional) Create `yii2_basic_tests` database and update it by applying migrations if you have them.
|
5. (Optional) Create `yii2basic_test` database and update it by applying migrations if you have them.
|
||||||
|
|
||||||
```
|
```
|
||||||
tests/bin/yii migrate
|
tests/bin/yii migrate
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
$db = require __DIR__ . '/db.php';
|
$db = require __DIR__ . '/db.php';
|
||||||
// test database! Important not to run tests on production or development databases
|
// test database! Important not to run tests on production or development databases
|
||||||
$db['dsn'] = 'mysql:host=localhost;dbname=yii2_basic_tests';
|
$db['dsn'] = 'mysql:host=localhost;dbname=yii2basic_test';
|
||||||
|
|
||||||
return $db;
|
return $db;
|
||||||
|
Loading…
Reference in New Issue
Block a user