You are here

public function RenderCacheTest::testUser1PermissionContext in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Render/RenderCacheTest.php \Drupal\system\Tests\Render\RenderCacheTest::testUser1PermissionContext()

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

File

core/modules/system/src/Tests/Render/RenderCacheTest.php, line 42
Contains \Drupal\system\Tests\Render\RenderCacheTest.

Class

RenderCacheTest
Tests the caching of render items via functional tests.

Namespace

Drupal\system\Tests\Render

Code

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