You are here

protected function QuickFormTest::setUp in farmOS 2.x

Overrides KernelTestBase::setUp

File

modules/core/quick/tests/src/Kernel/QuickFormTest.php, line 44

Class

QuickFormTest
Tests for farmOS quick forms.

Namespace

Drupal\Tests\farm_quick\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->quickFormManager = \Drupal::service('plugin.manager.quick_form');
  $this
    ->installEntitySchema('asset');
  $this
    ->installEntitySchema('log');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installEntitySchema('quantity');
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig([
    'farm_quick_test',
  ]);
}