Skip to content
Snippets Groups Projects
Commit c6c6236c authored by Henri-Damien LAURENT's avatar Henri-Damien LAURENT
Browse files

Fixing tests

parent 1653e2af
Branches
Tags
No related merge requests found
Pipeline #12971 passed with stage
in 49 minutes and 17 seconds
......@@ -146,7 +146,7 @@ class Security_SearchTest extends AbstractControllerTestCase {
/** @test */
public function titreShouldNotBeXssable() {
$this->dispatch('/recherche/simple?' . http_build_query(['titre' => 'z--><qss> - z-->']));
$this->assertNotContains('z--><qss> - z-->');
$this->assertNotContains('z--><qss> - z-->', $this->_response->getBody());
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment