From 77475321a9eada8d1d9f5228e9fca0c71e8860b9 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 23 Jan 2024 20:15:19 +0100 Subject: [PATCH] fix test The response's content of a BinaryFileResponse will is consumed by the filterResponse() method of the HttpKernelBrowser. --- .../Tests/AssetMapperDevServerSubscriberFunctionalTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/AssetMapper/Tests/AssetMapperDevServerSubscriberFunctionalTest.php b/src/Symfony/Component/AssetMapper/Tests/AssetMapperDevServerSubscriberFunctionalTest.php index 558dfc76725b8..c6b2e7ecae9a6 100644 --- a/src/Symfony/Component/AssetMapper/Tests/AssetMapperDevServerSubscriberFunctionalTest.php +++ b/src/Symfony/Component/AssetMapper/Tests/AssetMapperDevServerSubscriberFunctionalTest.php @@ -46,7 +46,7 @@ public function testGettingAssetWithNonAsciiFilenameWorks() /* voilĂ .css */ body {} - EOF, $response->getContent()); + EOF, $client->getInternalResponse()->getContent()); } public function test404OnUnknownAsset()