You are here

11 calls to UserCreationTrait::createRole() in Zircon Profile 8

AccessTest::setUp in core/modules/views/src/Tests/Plugin/AccessTest.php
Sets up a Drupal site for running functional and integration tests.
AccessTestBase::setUp in core/modules/user/src/Tests/Views/AccessTestBase.php
Sets up a Drupal site for running functional and integration tests.
ConfigTranslationListUiTest::doUserRoleListTest in core/modules/config_translation/src/Tests/ConfigTranslationListUiTest.php
Tests the role listing for the translate operation.
HandlerFieldRoleTest::testRole in core/modules/user/src/Tests/Views/HandlerFieldRoleTest.php
ToolbarAdminMenuTest::testNonCurrentUserAccountUpdates in core/modules/toolbar/src/Tests/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::testUserRoleUpdateSubtreesHashCacheClear in core/modules/toolbar/src/Tests/ToolbarAdminMenuTest.php
Exercises the toolbar_user_role_update() and toolbar_user_update() hook implementations.
UserAdminListingTest::testUserListing in core/modules/user/src/Tests/UserAdminListingTest.php
Tests the listing.
UserCreationTrait::createAdminRole in core/modules/simpletest/src/UserCreationTrait.php
Creates an administrative role.
UserCreationTrait::createUser in core/modules/simpletest/src/UserCreationTrait.php
Create a user with a given set of permissions.
UserRolesAssignmentTest::testAssignAndRemoveRole in core/modules/user/src/Tests/UserRolesAssignmentTest.php
Tests that a user can be assigned a role and that the role can be removed again.
UserRolesAssignmentTest::testCreateUserWithRole in core/modules/user/src/Tests/UserRolesAssignmentTest.php
Tests that when creating a user the role can be assigned. And that it can be removed again.