summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlex Pott2018-12-14 22:20:28 (GMT)
committerAlex Pott2018-12-14 22:20:34 (GMT)
commit017a22fa7853b41d1d0ccdb2bd300243a4875c4b (patch)
tree0ea9b93c72e454aab257db2d3f3e8cc5403e7678 /core
parente839a9726a0f9abb4e6776b56eabdce546a961ce (diff)
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 96ef995291d1b19c9eaf7f098761271fe35efa4f)
Diffstat (limited to 'core')
-rw-r--r--core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
index d8290fe..e9c9549 100644
--- a/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
+++ b/core/tests/Drupal/Tests/Core/EventSubscriber/RssResponseRelativeUrlFilterTest.php
@@ -114,7 +114,7 @@ RSS;
$event = new FilterResponseEvent(
$this->prophesize(HttpKernelInterface::class)->reveal(),
Request::create('/'),
- 'foo',
+ HttpKernelInterface::MASTER_REQUEST,
new Response($content, 200, [
'Content-Type' => 'application/rss+xml',
])