function UserImportTest::setUp in User Import 5
Same name and namespace in other branches
- 8 tests/user_import.test \UserImportTest::setUp()
File
- tests/
user_import.test, line 15
Class
- UserImportTest
- Create Invoice node test for Invoices module.
Code
function setUp() {
/* Prepare users */
$this->admin_user = $this
->drupalCreateUserRolePerm(array(
'administer users',
'access administration pages',
'administer site configuration',
));
$this->user_importer = $this
->drupalCreateUserRolePerm(array(
'import users',
));
$this->user_limited_importer = $this
->drupalCreateUserRolePerm(array(
'limited user import',
));
parent::setUp();
}