yii2_basic_tests database is renamed to yii2basic_test (#232)

This commit is contained in:
Nazar Holubovskyy 2020-09-08 23:38:53 +01:00 committed by GitHub
parent e319588b18
commit 7cc58b3e39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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;