You are here

public function AccessTest::setUp in Entity Construction Kit (ECK) 8

Overrides FunctionalTestBase::setUp

File

tests/src/Functional/AccessTest.php, line 35

Class

AccessTest
Tests eck's access control.

Namespace

Drupal\Tests\eck\Functional

Code

public function setUp() {
  parent::setUp();
  $this->entityTypeInfo = $this
    ->createEntityType();
  $this->bundleInfo = $this
    ->createEntityBundle($this->entityTypeInfo['id']);

  // Start testing with a logged out user.
  $this
    ->drupalLogout();
}