diff --git a/Tests/Functional/RequestBodyParamConverterTest.php b/Tests/Functional/RequestBodyParamConverterTest.php index b68c9806f..daf709428 100644 --- a/Tests/Functional/RequestBodyParamConverterTest.php +++ b/Tests/Functional/RequestBodyParamConverterTest.php @@ -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()); } }