core/modules/views/src/Tests/Plugin/AccessTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/modules/views/src/Tests/Plugin/AccessTest.php b/core/modules/views/src/Tests/Plugin/AccessTest.php index 715ebd5..95ef502 100644 --- a/core/modules/views/src/Tests/Plugin/AccessTest.php +++ b/core/modules/views/src/Tests/Plugin/AccessTest.php @@ -103,11 +103,11 @@ function testStaticAccessPlugin() { $this->container->get('router.builder')->rebuildIfNeeded(); // Clear the page cache. - // @todo Remove this. 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. - // Remove as part of https://www.drupal.org/node/2464657. + // @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));