You are here

protected function CustomFilterMigrationTrait::setUp in Custom filter 2.0.x

File

tests/src/Traits/CustomFilterMigrationTrait.php, line 17

Class

CustomFilterMigrationTrait
Trait to gather custom filter migration testing code.

Namespace

Drupal\Tests\customfilter\Traits

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->loadFixture(__DIR__ . '/../../fixtures/customfilter_entities.php');
  $this
    ->installConfig(static::$modules);
  $this
    ->installEntitySchema('customfilter');
  $this
    ->executeMigrations([
    'customfilter_migrate',
  ]);
}