From 95545a84eaab911fc6691b24f8b16887c697f1b0 Mon Sep 17 00:00:00 2001 From: Nathaniel Catchpole Date: Fri, 17 Apr 2015 10:27:14 +0100 Subject: [PATCH] Issue #2464657 by amateescu: Remove unnecessary cache clear in Views tests --- core/modules/views/src/Tests/Plugin/AccessTest.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/modules/views/src/Tests/Plugin/AccessTest.php b/core/modules/views/src/Tests/Plugin/AccessTest.php index 95ef502a89a..208e60c6cb1 100644 --- a/core/modules/views/src/Tests/Plugin/AccessTest.php +++ b/core/modules/views/src/Tests/Plugin/AccessTest.php @@ -102,14 +102,6 @@ class AccessTest extends PluginTestBase { // termination event fires. Simulate that here. $this->container->get('router.builder')->rebuildIfNeeded(); - // Clear the page cache. - // @todo Remove as part of https://www.drupal.org/node/2464657. The root - // cause is that the access plugins alters the route's access - // requirements. That means that the 403 from above does not have any - // cache tags, so modifying the View entity does not cause the cached 403 - // page to be invalidated. - Cache::invalidateTags(['rendered']); - $this->assertTrue($access_plugin->access($this->normalUser)); $this->drupalGet('test_access_static');