function MessageEntityTest::setUp

Same name in other branches
  1. 9 core/modules/contact/tests/src/Kernel/MessageEntityTest.php \Drupal\Tests\contact\Kernel\MessageEntityTest::setUp()
  2. 8.9.x core/modules/contact/tests/src/Kernel/MessageEntityTest.php \Drupal\Tests\contact\Kernel\MessageEntityTest::setUp()
  3. 10 core/modules/contact/tests/src/Kernel/MessageEntityTest.php \Drupal\Tests\contact\Kernel\MessageEntityTest::setUp()

Overrides EntityKernelTestBase::setUp

File

core/modules/contact/tests/src/Kernel/MessageEntityTest.php, line 31

Class

MessageEntityTest
Tests the message entity class.

Namespace

Drupal\Tests\contact\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'contact',
        'contact_test',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.