You are here

public function DefaultAddressesTest::setUp in Reroute Email 8

Same name and namespace in other branches
  1. 2.x tests/src/Functional/DefaultAddressesTest.php \Drupal\Tests\reroute_email\Functional\DefaultAddressesTest::setUp()

Enable modules and create user with specific permissions.

Overrides RerouteEmailTestBase::setUp

File

tests/src/Functional/DefaultAddressesTest.php, line 24

Class

DefaultAddressesTest
Test for default address.

Namespace

Drupal\Tests\reroute_email\Functional

Code

public function setUp() {

  // Add more permissions to access recent log messages in test.
  $this->permissions[] = 'access site reports';
  parent::setUp();
}