aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-06-24 14:22:47 +0200
committerGitHub <noreply@github.com>2016-06-24 14:22:47 +0200
commit9f8c43e222feb88f18597e42ab0512fda483d46d (patch)
tree6b2a4ad27428497713eef68ce57d4b58f18507cc /tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
parentfb5c17a9ab5e10b1de9caa50e73638fdae19cb78 (diff)
parentfdc90ceb172bb7b237e34a1a01f53018c09f514b (diff)
downloadwallabag-9f8c43e222feb88f18597e42ab0512fda483d46d.tar.gz
wallabag-9f8c43e222feb88f18597e42ab0512fda483d46d.tar.zst
wallabag-9f8c43e222feb88f18597e42ab0512fda483d46d.zip
Merge pull request #2172 from wallabag/more-tests
Change the way to login user in tests
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php b/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
index f503ff4b..03355f5a 100644
--- a/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
@@ -36,7 +36,7 @@ class SecurityControllerTest extends WallabagCoreTestCase
36 $em->persist($user); 36 $em->persist($user);
37 $em->flush(); 37 $em->flush();
38 38
39 $this->logInAs('admin'); 39 $this->logInAsUsingHttp('admin');
40 $crawler = $client->request('GET', '/config'); 40 $crawler = $client->request('GET', '/config');
41 $this->assertContains('scheb_two_factor.trusted', $crawler->filter('body')->extract(['_text'])[0]); 41 $this->assertContains('scheb_two_factor.trusted', $crawler->filter('body')->extract(['_text'])[0]);
42 42