Compare commits

...

3 Commits

Author SHA1 Message Date
4b6824dfe9 Merge 5db128a071 into 54dcb72288 2025-06-17 18:19:40 +00:00
5db128a071 Fix tests 2025-06-17 20:19:30 +02:00
c4f615e711 Hide sensitive information in production 2025-06-17 20:17:44 +02:00
3 changed files with 2 additions and 6 deletions

View File

@ -15,10 +15,6 @@
<div class="card-content">
<div class="row">
<h5>{{ status_code }}: {{ status_text }}</h5>
<p>{{ exception.message }}</p>
{# {% for trace in exception.trace %}
<p>{{ trace.class }} - {{ trace.type }} - {{ trace.file }} - {{ trace.line }}</p>
{% endfor %} #}
</div>
</div>
</div>

View File

@ -1130,7 +1130,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()

View File

@ -732,7 +732,7 @@ class EntryControllerTest 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]);
}
/**