You are here

protected function CSVTest::setUp in Migrate Source CSV 8.2

Same name and namespace in other branches
  1. 8 tests/src/Unit/Plugin/migrate/source/CSVTest.php \Drupal\Tests\migrate_source_csv\Unit\Plugin\migrate\source\CSVTest::setUp()

Overrides MigrateTestBase::setUp

File

tests/src/Kernel/Plugin/migrate/source/CSVTest.php, line 37

Class

CSVTest
@coversDefaultClass \Drupal\migrate_source_csv\Plugin\migrate\source\CSV

Namespace

Drupal\Tests\migrate_source_csv\Unit\Plugin\migrate\source

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('migration');
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('taxonomy_vocabulary');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installSchema('node', 'node_access');
  $this
    ->installConfig([
    'filter',
  ]);
  $this
    ->installConfig([
    'migrate_source_csv_test',
  ]);
}