25 calls to UserCreationTrait::grantPermissions() in Drupal 8
- BasicAuthTest::testCacheabilityOf401Response in core/
modules/ basic_auth/ tests/ src/ Functional/ BasicAuthTest.php - Tests the cacheability of Basic Auth's 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 - Test clicking contextual links.
- ContextualLinksTest::testContextualLinksDestination in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ ContextualLinksTest.php - Test the contextual links destination.
- 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 - Test view access control on the canonical page.
- MediaAccessTest::testMediaAccess in core/
modules/ media/ tests/ src/ Functional/ MediaAccessTest.php - Test 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 - Test 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 - Test blocks with overridden related configuration removed when overridden.
- QuickEditIntegrationTest::testQuickEditLinks in core/
modules/ settings_tray/ tests/ src/ FunctionalJavascript/ QuickEditIntegrationTest.php - Tests QuickEdit links behavior.
- 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.
- UserCreationTrait::createRole in core/
modules/ user/ tests/ src/ Traits/ UserCreationTrait.php - Creates a role with specified permissions.
- 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.