]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Fix tests 1362/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 11 Sep 2015 14:13:59 +0000 (16:13 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Sat, 12 Sep 2015 09:36:16 +0000 (11:36 +0200)
commitaf43bd37675954f937720f7b6fbcf78d85928bc5
treedfcb9a7cd9a1eeac200852ef74f6fc9329e3337c
parent3f7a62908cc34b9d575bea5629dc0bb94e521e71
Fix tests

Ensure that created use during install command will always be unique.
We assume that the install command must be run to initialize a wallabag instance. NEVER to add more user.

Also, use a better way to retrieve the real name of the database and not the one defined in parameters.yml (which isn't the same for test envi because the dbname isn't defined in parameters.yml but directly in config_test.yml)
src/Wallabag/CoreBundle/Command/InstallCommand.php
src/Wallabag/CoreBundle/Tests/Command/InstallCommandTest.php
src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
src/Wallabag/CoreBundle/Tests/Controller/TagControllerTest.php