aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2019-07-26 13:37:44 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2019-07-26 13:37:44 +0200
commit1ebc8e1f024ae0f13a495872ba7b3705251bfc1f (patch)
tree89f9ff04574510ed4b9339f42e23dd27159dd41c
parent62665a32bb15ea2330e840c11adc2b5a0c9cb854 (diff)
downloadwallabag-1ebc8e1f024ae0f13a495872ba7b3705251bfc1f.tar.gz
wallabag-1ebc8e1f024ae0f13a495872ba7b3705251bfc1f.tar.zst
wallabag-1ebc8e1f024ae0f13a495872ba7b3705251bfc1f.zip
Fix tests
-rw-r--r--tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php b/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
index 93019b1f..6b51f403 100644
--- a/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
+++ b/tests/Wallabag/CoreBundle/Controller/SecurityControllerTest.php
@@ -48,7 +48,7 @@ class SecurityControllerTest extends WallabagCoreTestCase
48 48
49 $this->logInAsUsingHttp('admin'); 49 $this->logInAsUsingHttp('admin');
50 $crawler = $client->request('GET', '/config'); 50 $crawler = $client->request('GET', '/config');
51 $this->assertContains('scheb_two_factor.trusted', $crawler->filter('body')->extract(['_text'])[0]); 51 $this->assertContains('trusted', $crawler->filter('body')->extract(['_text'])[0]);
52 52
53 // restore user 53 // restore user
54 $user = $em 54 $user = $em
@@ -81,7 +81,7 @@ class SecurityControllerTest extends WallabagCoreTestCase
81 81
82 $this->logInAsUsingHttp('admin'); 82 $this->logInAsUsingHttp('admin');
83 $crawler = $client->request('GET', '/config'); 83 $crawler = $client->request('GET', '/config');
84 $this->assertContains('scheb_two_factor.trusted', $crawler->filter('body')->extract(['_text'])[0]); 84 $this->assertContains('trusted', $crawler->filter('body')->extract(['_text'])[0]);
85 85
86 // restore user 86 // restore user
87 $user = $em 87 $user = $em