protected function EntityformTestCase::createUsers in Entityform 7
Same name and namespace in other branches
- 7.2 entityform.test \EntityformTestCase::createUsers()
1 call to EntityformTestCase::createUsers()
- EntityformTestCase::setUp in ./
entityform.test - Sets up a Drupal site for running functional and integration tests.
File
- ./
entityform.test, line 19
Class
Code
protected function createUsers() {
$this->user_admin = $this
->drupalCreateUser(array(
'administer entityform types',
));
$this->user_view = $this
->drupalCreateUser(array(
'view own entityform',
));
$this->user_edit = $this
->drupalCreateUser(array(
'view own entityform',
'edit own entityform',
'delete own entityform',
));
$this->user_low = $this
->drupalCreateUser();
}