Skip to content

Commit

Permalink
fix preview error controller compat test
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jan 31, 2020
1 parent e7f17ac commit d8a4293
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Tests/Functional/RequestBodyParamConverterTest.php
Expand Up @@ -49,8 +49,6 @@ public function testTwigErrorPage()
$client = $this->createClient(['test_case' => 'RequestBodyParamConverter']);
$client->request('GET', '/_error/404.txt');

// Status code 200 as this page describes an error but is not the result of an error.
$this->assertEquals(200, $client->getResponse()->getStatusCode());
$this->assertContains('The server returned a "404 Not Found".', $client->getResponse()->getContent());
}
}

0 comments on commit d8a4293

Please sign in to comment.