27 calls to AssertPageCacheContextsAndTagsTrait::assertCacheContext()
- AccessDeniedTest::testAccessDeniedCustomPageWithAccessDenied in core/
modules/ system/ tests/ src/ Functional/ System/ AccessDeniedTest.php - Tests that an inaccessible custom 403 page falls back to the default.
- AccessRoleTest::testAccessRole in core/
modules/ user/ tests/ src/ Functional/ Views/ AccessRoleTest.php - Tests role access plugin.
- CacheabilityMetadataConfigOverrideIntegrationTest::testConfigOverride in core/
modules/ config/ tests/ src/ Functional/ CacheabilityMetadataConfigOverrideIntegrationTest.php - Tests if config overrides correctly set cacheability metadata.
- ContactPersonalTest::testPersonalContactAccess in core/
modules/ contact/ tests/ src/ Functional/ ContactPersonalTest.php - Tests access to the personal contact form.
- ContentTranslationWorkflowsTest::testWorkflows in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationWorkflowsTest.php - Tests simple and editorial translation workflows.
- DisplayPathTest::testMenuOptions in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayPathTest.php - Tests the menu and tab option form.
- EngineTwigTest::testTwigLinkGenerator in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the link_generator Twig functions.
- EngineTwigTest::testTwigUrlGenerator in core/
modules/ system/ tests/ src/ Functional/ Theme/ EngineTwigTest.php - Tests the url and url_generate Twig functions.
- ExposedFormTest::testExposedBlock in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ExposedFormTest.php - Tests the exposed block functionality.
- HistoryTest::testHistory in core/
modules/ history/ tests/ src/ Functional/ HistoryTest.php - Verifies that the history endpoints work.
- ImageFieldDisplayTest::_testImageFieldFormatters in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Tests image formatters on node display.
- MediaAccessTest::testCanonicalMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests view access control on the canonical page.
- MediaAccessTest::testMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests some access control functionality.
- MediaAccessTest::testMediaAnonymousUserAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests media access of anonymous user.
- MediaAccessTest::testReferencedRendering in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests access for embedded medias.
- MediaAccessTest::testUnpublishedMediaUserAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Tests unpublished media access.
- NodeAccessCacheabilityTest::testNodeAccessCacheabilitySafeguard in core/
modules/ node/ tests/ src/ Functional/ NodeAccessCacheabilityTest.php - Tests that the node grants cache context is auto-added, only when needed.
- NodeAccessCacheabilityTest::testNodeAccessCacheContext in core/
modules/ node/ tests/ src/ Functional/ NodeAccessCacheabilityTest.php - Tests that the user cache contexts are correctly set.
- NodeTypeTest::testNodeTypeCreation in core/
modules/ node/ tests/ src/ Functional/ NodeTypeTest.php - Tests creating a content type programmatically and via a form.
- PageCacheTest::testPageCacheAnonymousRolePermissions in core/
modules/ page_cache/ tests/ src/ Functional/ PageCacheTest.php - Tests the automatic presence of the anonymous role's cache tag.
- PageNotFoundTest::testPageNotFoundCustomPageWithAccessDenied in core/
modules/ system/ tests/ src/ Functional/ System/ PageNotFoundTest.php - Tests that an inaccessible custom 404 page falls back to the default.
- PagerTest::testPagerQueryParametersAndCacheContext in core/
modules/ system/ tests/ src/ Functional/ Pager/ PagerTest.php - Tests pager query parameters and cache context.
- RenderWebTest::testWrapperFormatCacheContext in core/
modules/ system/ tests/ src/ Functional/ Common/ RenderWebTest.php - Asserts the cache context for the wrapper format is always present.
- UrlBubbleableMetadataBubblingTest::testUrlBubbleableMetadataBubbling in core/
modules/ system/ tests/ src/ Functional/ Render/ UrlBubbleableMetadataBubblingTest.php - Tests that URL bubbleable metadata is correctly bubbled.
- WorkspaceCacheContextTest::testWorkspaceCacheContext in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceCacheContextTest.php - Tests the 'workspace' cache context.
- WorkspaceSwitcherTest::testQueryParameterNegotiator in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceSwitcherTest.php - Tests switching workspace via a query parameter.
- WorkspaceSwitcherTest::testSwitchingWorkspaces in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceSwitcherTest.php - Tests switching workspace via the switcher block and admin page.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.