From d8a42936c0d4ac0fbc1bcb2d71ba106e96b41188 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Fri, 31 Jan 2020 15:53:55 +0100 Subject: [PATCH] fix preview error controller compat test --- Tests/Functional/RequestBodyParamConverterTest.php | 2 -- 1 file changed, 2 deletions(-) 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()); } }