You are here

private function AddThisFunctionalityTestCase::createAdminUser in AddThis 7.4

1 call to AddThisFunctionalityTestCase::createAdminUser()
AddThisFunctionalityTestCase::createAndLoginUser in tests/AddThisFunctionalityTestCase.test

File

tests/AddThisFunctionalityTestCase.test, line 315
Tests for the AddThis-module.

Class

AddThisFunctionalityTestCase
@file Tests for the AddThis-module.

Code

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