You are here

public function NodeRevisionDeleteQueryAlterTest::setUp in Node Revision Delete 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/NodeRevisionDeleteQueryAlterTest.php, line 30

Class

NodeRevisionDeleteQueryAlterTest
Tests that appropriate query tags are added.

Namespace

Drupal\Tests\node_revision_delete\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installSchema('node', 'node_access');
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig([
    'node_revision_delete',
  ]);

  // Getting the node revision delete service.
  $this->nodeRevisionDelete = $this->container
    ->get('node_revision_delete');
}