Commit f8f25e4b authored by alexpott's avatar alexpott

Issue #2540764 by borisson_: Fix error in documentation that was added in #2533768

parent 7115108c
......@@ -111,7 +111,7 @@ public function testUserRolesCacheContextOptimization() {
// Even though the cache contexts have been optimized to only include 'user'
// cache context, the element should have been changed because 'user.roles'
// cache context defined a cache tag for user entity changes23, which should
// cache context defined a cache tag for user entity changes, which should
// have bubbled up for the element when it was optimized away.
$authenticated_user->removeRole($role);
$authenticated_user->save();
......
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