You are here

protected function ActionTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()
  2. 10 core/modules/system/tests/src/Kernel/Action/ActionTest.php \Drupal\Tests\system\Kernel\Action\ActionTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/system/tests/src/Kernel/Action/ActionTest.php, line 32

Class

ActionTest
Tests action plugins.

Namespace

Drupal\Tests\system\Kernel\Action

Code

protected function setUp() {
  parent::setUp();
  $this->actionManager = $this->container
    ->get('plugin.manager.action');
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('system', [
    'sequences',
  ]);
}