You are here

public function MessageCheckAndDeleteWorkerTest::setUp in Message 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Plugin/QueueWorker/MessageCheckAndDeleteWorkerTest.php, line 40

Class

MessageCheckAndDeleteWorkerTest
Tests the multi-valued field check and delete after entity deletion.

Namespace

Drupal\Tests\message\Kernel\Plugin\QueueWorker

Code

public function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('message');
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installConfig([
    'filter',
    'node',
  ]);
}