]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Change the way to login user in tests 2172/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 24 Jun 2016 09:55:45 +0000 (11:55 +0200)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Fri, 24 Jun 2016 09:55:47 +0000 (11:55 +0200)
commitfdc90ceb172bb7b237e34a1a01f53018c09f514b
tree6b2a4ad27428497713eef68ce57d4b58f18507cc
parent2bc9cad78ed43eaadfc8844c0b55700e7045cbd7
Change the way to login user in tests

Instead of using a HTTP request we just login user like FOSUser does.
It allows us to mock service in container for functional tests.

Also, fix a bad config name in fos_user for firewall

And finally, add functional test to PocketImport
app/config/config.yml
tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
tests/Wallabag/CoreBundle/Controller/TagControllerTest.php
tests/Wallabag/CoreBundle/WallabagCoreTestCase.php
tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php
tests/Wallabag/ImportBundle/fixtures/unnamed.png [new file with mode: 0644]