mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-22 23:56:29 +00:00
Fix tests
This commit is contained in:
parent
62665a32bb
commit
1ebc8e1f02
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue