Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / user / src / Tests / Views / AccessRoleTest.php
index 4d5db4d029dac552f5f76e615da3ae78245e35c1..addda24f278cf3c324db35369d9e6ef5f3f76fd1 100644 (file)
@@ -126,10 +126,10 @@ class AccessRoleTest extends AccessTestBase {
     $account_switcher->switchTo($this->webUser);
     $result = $renderer->renderPlain($build);
     // @todo Fix this in https://www.drupal.org/node/2551037,
-    // DisplayPluginBase::applyDisplayCachablityMetadata() is not invoked when
+    // DisplayPluginBase::applyDisplayCacheabilityMetadata() is not invoked when
     // using buildBasicRenderable() and a Views access plugin returns FALSE.
-    //$this->assertTrue(in_array('user.roles', $build['#cache']['contexts']));
-    //$this->assertEqual([], $build['#cache']['tags']);
+    // $this->assertTrue(in_array('user.roles', $build['#cache']['contexts']));
+    // $this->assertEqual([], $build['#cache']['tags']);
     $this->assertEqual(Cache::PERMANENT, $build['#cache']['max-age']);
     $this->assertEqual($result, '');
   }