BackdropWebTestCase::backdropCreateUser in modules/simpletest/backdrop_web_test_case.php
Create a user with a given set of permissions.
DrupalWebTestCase::drupalCreateRole in includes/drupal.classes.inc
FieldViewsTestHelper::CreateUser in modules/field/tests/field_views.test
NodeTypeTestCase::testNodeTypePermissions in modules/node/tests/node.test
Tests that node types permissions are correctly set from the Node Type UI.
TaxonomyVocabularyFunctionalTest::testVocabularyPermissions in modules/taxonomy/tests/taxonomy.test
Tests that vocabulary permissions are correctly set from the Taxonomy UI.
UserRolesAssignmentTestCase::testAssignAndRemoveRole in modules/user/tests/user.test
Tests that a user can be assigned a role and that the role can be removed again.
UserRolesAssignmentTestCase::testCreateUserWithRole in modules/user/tests/user.test
Tests that when creating a user the role can be assigned. And that it can be removed again.
ViewsAccessTest::setUp in modules/views/tests/views_access.test
Sets up a Backdrop site for running functional and integration tests.