function RenderCacheTest::testUser1PermissionContext

Tests that user 1 has a different permission context with the same roles.

File

core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php, line 46

Class

RenderCacheTest
Tests the caching of render items via functional tests.

Namespace

Drupal\KernelTests\Core\Render

Code

public function testUser1PermissionContext() : void {
  $this->doTestUser1WithContexts([
    'user.permissions',
  ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.