Skip to content

Commit 11a1071

Browse files
committed
Issue #3020579 by catch: TypeError: Argument 3 passed to Symfony\Component\HttpKernel\Event\FilterResponseEvent::__construct() must be of the type integer, string given [Symfony 4]
(cherry picked from commit 96ef995)
1 parent b5fab3c commit 11a1071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function testOnResponse($content, $expected_content) {
114114
$event = new FilterResponseEvent(
115115
$this->prophesize(HttpKernelInterface::class)->reveal(),
116116
Request::create('/'),
117-
'foo',
117+
HttpKernelInterface::MASTER_REQUEST,
118118
new Response($content, 200, [
119119
'Content-Type' => 'application/rss+xml',
120120
])

0 commit comments

Comments
 (0)