public function RenderCacheTest::testUser1RolesContext in Drupal 9
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Render/RenderCacheTest.php \Drupal\KernelTests\Core\Render\RenderCacheTest::testUser1RolesContext()
Tests that user 1 has a different roles context with the same roles.
File
- core/
tests/ Drupal/ KernelTests/ Core/ Render/ RenderCacheTest.php, line 44
Class
- RenderCacheTest
- Tests the caching of render items via functional tests.
Namespace
Drupal\KernelTests\Core\RenderCode
public function testUser1RolesContext() {
$this
->doTestUser1WithContexts([
'user.roles',
]);
}