You are here

protected function EventOnlyQueryAccessHandlerTest::setUp in Entity API 8

Overrides EntityKernelTestBase::setUp

File

tests/src/Kernel/QueryAccess/EventOnlyQueryAccessHandlerTest.php, line 29

Class

EventOnlyQueryAccessHandlerTest
Tests the generic query access handler.

Namespace

Drupal\Tests\entity\Kernel\QueryAccess

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  \Drupal::state()
    ->set('test_event_only_query_access', TRUE);
}