1 image_example.test public ImageExampleTestCase::setUp()

Enable modules and create user with specific permissions.

Overrides BackdropWebTestCase::setUp

File

modules/examples/image_example/tests/image_example.test, line 21
Test case for testing the image example module.

Class

ImageExampleTestCase
Functional tests for the Image Example module.

Code

public function setUp() {
  parent::setUp('image_example');
  // Create user with permission to administer image styles.
  $this->webUser = $this->backdropCreateUser(array('administer image styles', 'administer blocks'));
}