You are here

public function NodeRevisionDeleteConfigTest::setUp in Node Revision Delete 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/NodeRevisionDeleteConfigTest.php, line 54

Class

NodeRevisionDeleteConfigTest
Test the module configurations related to the node_revision_delete service.

Namespace

Drupal\Tests\node_revision_delete\Kernel

Code

public function setUp() {
  parent::setUp();
  $this->configurationFileName = 'node_revision_delete.settings';

  // Installing the configuration file.
  $this
    ->installConfig(self::$modules);

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

  // Setting values for test.
  $this->testTrackArray = $this
    ->getNodeRevisionDeleteTrackArray();
}