You are here

public function QuotaTest::setUp in Message 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/Plugin/MessagePurge/QuotaTest.php, line 40

Class

QuotaTest
Integration tests for the 'quota' purge plugin.

Namespace

Drupal\Tests\message\Kernel\Plugin\MessagePurge

Code

public function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('message');
  $this->template = MessageTemplate::create([
    'template' => 'foo',
  ]);
  $this->template
    ->save();
}