function BatchExampleTestCase::setUp

Enable modules and create user with specific permissions.

Parameters

...: List of modules to enable for the duration of the test. This can be either a single array or a variable number of string arguments.

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();
}