Issue #2464657 by amateescu: Remove unnecessary cache clear in Views tests

8.0.x
Nathaniel Catchpole 2015-04-17 10:27:14 +01:00
parent b80d11a1a1
commit 95545a84ea
1 changed files with 0 additions and 8 deletions

View File

@ -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');