You are here

protected function MigrateAcquiaConnectorConfigurationTest::setUp in Acquia Connector 3.x

Overrides MigrateDrupal7TestBase::setUp

File

tests/src/Kernel/Migrate/d7/MigrateAcquiaConnectorConfigurationTest.php, line 144

Class

MigrateAcquiaConnectorConfigurationTest
Migrates various configuration objects owned by the acquia connector module.

Namespace

Drupal\Tests\acquia_connector\Kernel\Migrate\d7

Code

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