function EmailActionTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php \Drupal\KernelTests\Core\Action\EmailActionTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php \Drupal\KernelTests\Core\Action\EmailActionTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php \Drupal\KernelTests\Core\Action\EmailActionTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Action/EmailActionTest.php, line 24

Class

EmailActionTest
Tests for the EmailAction plugin.

Namespace

Drupal\KernelTests\Core\Action

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installSchema('dblog', [
        'watchdog',
    ]);
}

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