You are here

function UserImportBasicsTestCase::setUp in User Import 8

Same name and namespace in other branches
  1. 6.4 user_import.test \UserImportBasicsTestCase::setUp()
  2. 6.2 user_import.test \UserImportBasicsTestCase::setUp()
  3. 7.3 user_import.test \UserImportBasicsTestCase::setUp()
  4. 7 user_import.test \UserImportBasicsTestCase::setUp()
  5. 7.2 user_import.test \UserImportBasicsTestCase::setUp()

File

./user_import.test, line 144

Class

UserImportBasicsTestCase
User Import module base test class.

Code

function setUp() {
  parent::setUp(array(
    'user_import',
  ));
  $this->admin_user = $this
    ->drupalCreateUser(array(
    'administer users',
    'access administration pages',
    'access overlay',
  ));
  $this->user_importer = $this
    ->drupalCreateUser(array(
    'import users',
  ));
}