diff --git c/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Controller/AggregatorTestRssController.php w/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Controller/AggregatorTestRssController.php index 1f70392..3fb8c40 100644 --- c/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Controller/AggregatorTestRssController.php +++ w/core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Controller/AggregatorTestRssController.php @@ -60,7 +60,7 @@ public function testFeed($use_last_modified, $use_etag, Request $request) { } public function testRedirect() { - return $this->redirect($this->urlGenerator()->generateFromRoute('aggregator_test_feed'), 301); + return $this->redirect('aggregator_test_feed', array(), 301); } }