You are here

public function BatchExampleTestCase::setUp in Examples for Developers 7

Enable modules and create user with specific permissions.

Overrides DrupalWebTestCase::setUp

File

batch_example/batch_example.test, line 32
Test case for Testing the batch example module.

Class

BatchExampleTestCase
Functional tests for the Batch Example module.

Code

public function setUp() {
  parent::setUp('batch_example');

  // Create user.
  $this->webUser = $this
    ->drupalCreateUser();
}