public function RenderCacheTest::testUser1PermissionContext in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php \Drupal\KernelTests\Core\Render\RenderCacheTest::testUser1PermissionContext()
- 10 core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php \Drupal\KernelTests\Core\Render\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 37
Class
- RenderCacheTest
- Tests the caching of render items via functional tests.
Namespace
Drupal\KernelTests\Core\RenderCode
public function testUser1PermissionContext() {
$this
->doTestUser1WithContexts([
'user.permissions',
]);
}