1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Prepare 2.6.7 release

This commit is contained in:
Jeremy Benoist 2023-10-02 14:08:42 +02:00
parent 0cfdddc2eb
commit fa107116cc
No known key found for this signature in database
GPG key ID: 7168D5DD29F38552
8 changed files with 77 additions and 67 deletions

View file

@ -1215,7 +1215,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$client->submit($form);
$this->assertSame(302, $client->getResponse()->getStatusCode());
$this->assertStringContainsString('flashes.config.notice.otp_disabled', $client->getContainer()->get(SessionInterface::class)->getFlashBag()->get('notice')[0]);
// restore user
@ -1264,7 +1264,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
->getRepository(User::class)
->findOneByUsername('admin');
$user->setGoogleAuthenticatorSecret("Google2FA");
$user->setGoogleAuthenticatorSecret('Google2FA');
$em->persist($user);
$em->flush();
@ -1274,7 +1274,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$client->submit($form);
$this->assertSame(302, $client->getResponse()->getStatusCode());
$this->assertStringContainsString('flashes.config.notice.otp_disabled', $client->getContainer()->get(SessionInterface::class)->getFlashBag()->get('notice')[0]);
// restore user