mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-30 04:51:01 +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');
|
$this->logInAsUsingHttp('admin');
|
||||||
$crawler = $client->request('GET', '/config');
|
$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
|
// restore user
|
||||||
$user = $em
|
$user = $em
|
||||||
|
@ -81,7 +81,7 @@ class SecurityControllerTest extends WallabagCoreTestCase
|
||||||
|
|
||||||
$this->logInAsUsingHttp('admin');
|
$this->logInAsUsingHttp('admin');
|
||||||
$crawler = $client->request('GET', '/config');
|
$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
|
// restore user
|
||||||
$user = $em
|
$user = $em
|
||||||
|
|
Loading…
Reference in a new issue