.../system/lib/Drupal/system/Tests/Cache/PageCacheTagsTestBase.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/modules/system/lib/Drupal/system/Tests/Cache/PageCacheTagsTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Cache/PageCacheTagsTestBase.php index 194976a..4dfc88c 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Cache/PageCacheTagsTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/Cache/PageCacheTagsTestBase.php @@ -49,6 +49,8 @@ protected function verifyPageCache($path, $hit_or_miss, $tags = FALSE) { $cid_parts = array(url($path, array('absolute' => TRUE)), 'html'); $cid = sha1(implode(':', $cid_parts)); $cache_entry = \Drupal::cache('page')->get($cid); + sort($cache_entry->tags); + sort($tags); $this->assertIdentical($cache_entry->tags, $tags); } }