function BatchExampleTestCase::setUp
Enable modules and create user with specific permissions.
Overrides DrupalWebTestCase::setUp
File
-
batch_example/
batch_example.test, line 32
Class
- BatchExampleTestCase
- Functional tests for the Batch Example module.
Code
public function setUp() {
parent::setUp('batch_example');
// Create user.
$this->webUser = $this->drupalCreateUser();
}