Issue #2464657 by amateescu: Remove unnecessary cache clear in Views tests
parent
b80d11a1a1
commit
95545a84ea
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue