You are here

protected function DomainAccessGrantsTest::setUp in Domain Access 8

Overrides DomainTestBase::setUp

File

domain_access/tests/src/Functional/DomainAccessGrantsTest.php, line 33

Class

DomainAccessGrantsTest
Tests the application of domain access grants.

Namespace

Drupal\Tests\domain_access\Functional

Code

protected function setUp() {
  parent::setUp();

  // Ensure node_access table is clear.
  Database::getConnection()
    ->delete('node_access')
    ->execute();
}