Fix tests

This commit is contained in:
Jeremy Benoist 2019-07-26 13:37:44 +02:00
parent 62665a32bb
commit 1ebc8e1f02
No known key found for this signature in database
GPG key ID: 84290C294324D304

View file

@ -48,7 +48,7 @@ class SecurityControllerTest extends WallabagCoreTestCase
$this->logInAsUsingHttp('admin');
$crawler = $client->request('GET', '/config');
$this->assertContains('scheb_two_factor.trusted', $crawler->filter('body')->extract(['_text'])[0]);
$this->assertContains('trusted', $crawler->filter('body')->extract(['_text'])[0]);
// restore user
$user = $em
@ -81,7 +81,7 @@ class SecurityControllerTest extends WallabagCoreTestCase
$this->logInAsUsingHttp('admin');
$crawler = $client->request('GET', '/config');
$this->assertContains('scheb_two_factor.trusted', $crawler->filter('body')->extract(['_text'])[0]);
$this->assertContains('trusted', $crawler->filter('body')->extract(['_text'])[0]);
// restore user
$user = $em