diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-01 13:46:32 +0100 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2016-02-01 13:46:32 +0100 |
commit | 74d8afa5fa38af083bbacc63d76b904c01808f14 (patch) | |
tree | 77f12959d4e96d3ea971ec808599986ab4d6cc8f | |
parent | feb02cb709b7f72330fabcac2f81d0fabdbf1a9b (diff) | |
parent | c7eef67291469631309844dc21f2744dfc699dd1 (diff) | |
download | wallabag-74d8afa5fa38af083bbacc63d76b904c01808f14.tar.gz wallabag-74d8afa5fa38af083bbacc63d76b904c01808f14.tar.zst wallabag-74d8afa5fa38af083bbacc63d76b904c01808f14.zip |
Merge pull request #1639 from wallabag/v2-change-test-dbname
Fix #1635: change database name for test environments (mysql/pgsql)
-rw-r--r-- | app/config/tests/parameters.yml.dist.mysql | 2 | ||||
-rw-r--r-- | app/config/tests/parameters.yml.dist.pgsql | 2 | ||||
-rw-r--r-- | src/Wallabag/UserBundle/Resources/config/services.yml | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/app/config/tests/parameters.yml.dist.mysql b/app/config/tests/parameters.yml.dist.mysql index f902f239..3b9262bb 100644 --- a/app/config/tests/parameters.yml.dist.mysql +++ b/app/config/tests/parameters.yml.dist.mysql | |||
@@ -12,7 +12,7 @@ parameters: | |||
12 | test_database_driver: pdo_mysql | 12 | test_database_driver: pdo_mysql |
13 | test_database_host: localhost | 13 | test_database_host: localhost |
14 | test_database_port: 3306 | 14 | test_database_port: 3306 |
15 | test_database_name: wallabag | 15 | test_database_name: wallabag_test |
16 | test_database_user: root | 16 | test_database_user: root |
17 | test_database_password: ~ | 17 | test_database_password: ~ |
18 | test_database_path: ~ | 18 | test_database_path: ~ |
diff --git a/app/config/tests/parameters.yml.dist.pgsql b/app/config/tests/parameters.yml.dist.pgsql index 76685b14..a5aef028 100644 --- a/app/config/tests/parameters.yml.dist.pgsql +++ b/app/config/tests/parameters.yml.dist.pgsql | |||
@@ -12,7 +12,7 @@ parameters: | |||
12 | test_database_driver: pdo_pgsql | 12 | test_database_driver: pdo_pgsql |
13 | test_database_host: localhost | 13 | test_database_host: localhost |
14 | test_database_port: | 14 | test_database_port: |
15 | test_database_name: wallabag | 15 | test_database_name: wallabag_test |
16 | test_database_user: travis | 16 | test_database_user: travis |
17 | test_database_password: ~ | 17 | test_database_password: ~ |
18 | test_database_path: ~ | 18 | test_database_path: ~ |
diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml index bf9e036a..8321473a 100644 --- a/src/Wallabag/UserBundle/Resources/config/services.yml +++ b/src/Wallabag/UserBundle/Resources/config/services.yml | |||
@@ -1,4 +1,9 @@ | |||
1 | services: | 1 | services: |
2 | # might be fixed in the symfony release | ||
3 | # https://github.com/FriendsOfSymfony/FOSUserBundle/issues/2048 | ||
4 | fos_user.doctrine_registry: | ||
5 | alias: doctrine | ||
6 | |||
2 | wallabag_user.auth_code_mailer: | 7 | wallabag_user.auth_code_mailer: |
3 | class: Wallabag\UserBundle\Mailer\AuthCodeMailer | 8 | class: Wallabag\UserBundle\Mailer\AuthCodeMailer |
4 | arguments: | 9 | arguments: |