27 calls to UserCreationTrait::grantPermissions()
- BasicAuthTest::testCacheabilityOf401Response in core/
modules/ basic_auth/ tests/ src/ Functional/ BasicAuthTest.php - Tests the cacheability of the Basic Auth 401 response.
- ConfigAccessTest::testBlockConfigAccess in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ ConfigAccessTest.php - Tests access to block forms with related configuration is correct.
- ContextualLinksTest::testContextualLinksClick in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Tests clicking contextual links.
- ContextualLinksTest::testContextualLinksDestination in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Tests the contextual links destination.
- ContextualLinksTest::testContextualLinksDestinationWithQuery in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Tests the contextual links destination with query.
- ContextualLinksTest::testContextualLinksVisibility in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Tests the visibility of contextual links.
- JsonApiFunctionalMultilingualTest::testDeleteMultilingual in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalMultilingualTest.php - Tests deleting multilingual content.
- JsonApiFunctionalMultilingualTest::testPatchTranslation in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalMultilingualTest.php - Tests updating a translation.
- JsonApiFunctionalMultilingualTest::testPatchTranslationFallback in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalMultilingualTest.php - Tests updating a translation fallback.
- JsonApiFunctionalMultilingualTest::testPostTranslation in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalMultilingualTest.php - Tests creating a translation.
- JsonApiFunctionalTestBase::setUp in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiFunctionalTestBase.php - 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.
- MediaOverviewPageTest::testMediaOverviewPage in core/
modules/ media/ tests/ src/ Functional/ MediaOverviewPageTest.php - Tests that the Media overview page (/admin/content/media).
- MediaRevisionTest::testRevisions in core/
modules/ media/ tests/ src/ Functional/ MediaRevisionTest.php - Checks media revision operations.
- OverriddenConfigurationTest::testOverriddenConfigurationRemoved in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ OverriddenConfigurationTest.php - Tests blocks with overridden related configuration removed when overridden.
- ResourceTestBase::grantPermissionsToAnonymousRole in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php - Grants permissions to the anonymous role.
- ResourceTestBase::grantPermissionsToAuthenticatedRole in core/
modules/ rest/ tests/ src/ Functional/ ResourceTestBase.php - Grants permissions to the authenticated role.
- ResourceTestBase::grantPermissionsToTestedRole in core/
modules/ jsonapi/ tests/ src/ Functional/ ResourceTestBase.php - Grants permissions to the authenticated role.
- SettingsTrayBlockFormTest::doTestBlocks in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ SettingsTrayBlockFormTest.php - Tests opening off-canvas dialog by click blocks and elements in the blocks.
- SettingsTrayIntegrationTest::testQuickEditLinks in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ SettingsTrayIntegrationTest.php - Tests QuickEdit links behavior.
- UserCreationTrait::createRole in core/
modules/ user/ tests/ src/ Traits/ UserCreationTrait.php - Creates a role with specified permissions.
- UserPermissionsTest::testAccessBundlePermission in core/
modules/ user/ tests/ src/ Functional/ UserPermissionsTest.php - Verify that bundle-specific pages work properly.
- WidgetAccessTest::testWidgetAccess in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetAccessTest.php - Tests that the widget access works as expected.
- WidgetAnonymousTest::setUp in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetAnonymousTest.php - WidgetAnonymousTest::testWidgetAnonymous in core/
modules/ media_library/ tests/ src/ FunctionalJavascript/ WidgetAnonymousTest.php - Tests that the widget works as expected for anonymous users.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.