7 calls to ToolbarAdminMenuTest::getSubtreesHash()
- ToolbarAdminMenuTest::assertDifferentHash in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Asserts the subtrees hash on a fresh page GET is different from the hash from the previous page GET.
- ToolbarAdminMenuTest::setUp in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - ToolbarAdminMenuTest::testLanguageSwitching in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Test that subtrees hashes vary by the language of the page.
- ToolbarAdminMenuTest::testLocaleTranslationSubtreesHashCacheClear in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Tests that toolbar cache is cleared when string translations are made.
- ToolbarAdminMenuTest::testNonCurrentUserAccountUpdates in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Tests that changes to a user account by another user clears the changed account's toolbar cached, not the user's who took the action.
- ToolbarAdminMenuTest::testSubtreesJsonRequest in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Tests that the 'toolbar/subtrees/{hash}' is reachable and correct.
- ToolbarAdminMenuTest::testUserRoleUpdateSubtreesHashCacheClear in core/
modules/ toolbar/ tests/ src/ Functional/ ToolbarAdminMenuTest.php - Exercises the toolbar_user_role_update() and toolbar_user_update() hook implementations.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.