You are here

private function AddThisPermissionsTestCase::createAdminUserWithoutAdvancedAddThisAdministrationPermission in AddThis 7.4

1 call to AddThisPermissionsTestCase::createAdminUserWithoutAdvancedAddThisAdministrationPermission()
AddThisPermissionsTestCase::testUserWithoutAdministerAdvancedAddThisPermissionShouldNotBeAllowedToAccessAdvancedAddThisSystemSettings in tests/AddThisPermissionsTestCase.test

File

tests/AddThisPermissionsTestCase.test, line 41

Class

AddThisPermissionsTestCase

Code

private function createAdminUserWithoutAdvancedAddThisAdministrationPermission() {
  return $this
    ->drupalCreateUser(array(
    'administer content types',
    AddThis::PERMISSION_ADMINISTER_ADDTHIS,
  ));
}