You are here

private function AddThisPermissionsTestCase::createAdminUserWithoutAddThisAdministrationPermission in AddThis 7.4

1 call to AddThisPermissionsTestCase::createAdminUserWithoutAddThisAdministrationPermission()
AddThisPermissionsTestCase::testUserWithoutAdministerAddThisPermissionShouldNotBeAllowedToAccessAddThisSystemSettings in tests/AddThisPermissionsTestCase.test

File

tests/AddThisPermissionsTestCase.test, line 36

Class

AddThisPermissionsTestCase

Code

private function createAdminUserWithoutAddThisAdministrationPermission() {
  return $this
    ->drupalCreateUser(array(
    'administer content types',
  ));
}