Commit 95545a84 authored by catch's avatar catch
Browse files

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

parent b80d11a1
......@@ -102,14 +102,6 @@ function testStaticAccessPlugin() {
// 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');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment