diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-06-24 11:55:45 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-06-24 11:55:47 +0200 |
commit | fdc90ceb172bb7b237e34a1a01f53018c09f514b (patch) | |
tree | 6b2a4ad27428497713eef68ce57d4b58f18507cc /app | |
parent | 2bc9cad78ed43eaadfc8844c0b55700e7045cbd7 (diff) | |
download | wallabag-fdc90ceb172bb7b237e34a1a01f53018c09f514b.tar.gz wallabag-fdc90ceb172bb7b237e34a1a01f53018c09f514b.tar.zst wallabag-fdc90ceb172bb7b237e34a1a01f53018c09f514b.zip |
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
Diffstat (limited to 'app')
-rw-r--r-- | app/config/config.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index f1321d67..6a8078cc 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -176,7 +176,7 @@ liip_theme: | |||
176 | 176 | ||
177 | fos_user: | 177 | fos_user: |
178 | db_driver: orm | 178 | db_driver: orm |
179 | firewall_name: main | 179 | firewall_name: secured_area |
180 | user_class: Wallabag\UserBundle\Entity\User | 180 | user_class: Wallabag\UserBundle\Entity\User |
181 | registration: | 181 | registration: |
182 | confirmation: | 182 | confirmation: |