Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295308

Call refreshVariables() where needed in various tests

$
0
0

Problem/Motivation

In #3376846: Implement the new access policy API we adjusted the permission layer to a point where a role change has consequences. I.e.: Your permissions may change and a few cache entries need to be flushed. This doesn't work neatly in all of our tests because we are not calling refreshVariables(), meaning "outside requests" do not properly flush the cache tags.

Rather than bloat the Access Policy API issue with these fixes, let's commit these fixes separately.


Viewing all articles
Browse latest Browse all 295308

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>