You are here

protected function MigrateAcquiaSearchConfigurationTest::setUp in Acquia Search 3.x

Overrides MigrateDrupal7TestBase::setUp

File

tests/src/Kernel/Migrate/d7/MigrateAcquiaSearchConfigurationTest.php, line 36

Class

MigrateAcquiaSearchConfigurationTest
Migrates various configuration objects owned by the acquia search module.

Namespace

Drupal\Tests\acquia_search\Kernel\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->loadFixture(implode(DIRECTORY_SEPARATOR, [
    DRUPAL_ROOT,
    drupal_get_path('module', 'acquia_search'),
    'tests',
    'fixtures',
    'drupal7.php',
  ]));
  $migrations = [
    'd7_acquia_search_settings',
    'd7_acquia_search_index',
  ];
  $this
    ->executeMigrations($migrations);
}