mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-05 19:31:02 +00:00
Merge pull request #8291 from wallabag/hide-info-error-prod
Hide sensitive information in production
This commit is contained in:
commit
a3e48d3f8d
3 changed files with 2 additions and 6 deletions
|
@ -1131,7 +1131,7 @@ class ConfigControllerTest extends WallabagTestCase
|
|||
|
||||
$this->assertSame(400, $client->getResponse()->getStatusCode());
|
||||
$this->assertGreaterThan(1, $body = $crawler->filter('body')->extract(['_text']));
|
||||
$this->assertStringContainsString('Bad CSRF token.', $body[0]);
|
||||
$this->assertStringContainsString('400: Bad Request', $body[0]);
|
||||
}
|
||||
|
||||
public function testChangeLocaleWithReferer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue