1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-16 18:01:38 +00:00

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
This commit is contained in:
Jeremy Benoist 2016-06-24 11:55:45 +02:00
parent 2bc9cad78e
commit fdc90ceb17
6 changed files with 90 additions and 9 deletions

View file

@ -176,7 +176,7 @@ liip_theme:
fos_user:
db_driver: orm
firewall_name: main
firewall_name: secured_area
user_class: Wallabag\UserBundle\Entity\User
registration:
confirmation: