diff --git a/app/config/tests/parameters.yml.dist.mysql b/app/config/tests/parameters.yml.dist.mysql index f902f2395..3b9262bba 100644 --- a/app/config/tests/parameters.yml.dist.mysql +++ b/app/config/tests/parameters.yml.dist.mysql @@ -12,7 +12,7 @@ parameters: test_database_driver: pdo_mysql test_database_host: localhost test_database_port: 3306 - test_database_name: wallabag + test_database_name: wallabag_test test_database_user: root test_database_password: ~ test_database_path: ~ diff --git a/app/config/tests/parameters.yml.dist.pgsql b/app/config/tests/parameters.yml.dist.pgsql index 76685b141..a5aef0280 100644 --- a/app/config/tests/parameters.yml.dist.pgsql +++ b/app/config/tests/parameters.yml.dist.pgsql @@ -12,7 +12,7 @@ parameters: test_database_driver: pdo_pgsql test_database_host: localhost test_database_port: - test_database_name: wallabag + test_database_name: wallabag_test test_database_user: travis test_database_password: ~ test_database_path: ~ diff --git a/src/Wallabag/UserBundle/Resources/config/services.yml b/src/Wallabag/UserBundle/Resources/config/services.yml index bf9e036ae..8321473ab 100644 --- a/src/Wallabag/UserBundle/Resources/config/services.yml +++ b/src/Wallabag/UserBundle/Resources/config/services.yml @@ -1,4 +1,9 @@ services: + # might be fixed in the symfony release + # https://github.com/FriendsOfSymfony/FOSUserBundle/issues/2048 + fos_user.doctrine_registry: + alias: doctrine + wallabag_user.auth_code_mailer: class: Wallabag\UserBundle\Mailer\AuthCodeMailer arguments: