You are here

protected function MigrateCaptchaSimpleConfigurationTest::setUp in CAPTCHA 8

Overrides MigrateDrupal7TestBase::setUp

File

tests/src/Kernel/Migrate/d7/MigrateCaptchaSimpleConfigurationTest.php, line 42

Class

MigrateCaptchaSimpleConfigurationTest
Migrates various configuration objects owned by the captcha module.

Namespace

Drupal\Tests\captcha\Kernel\Migrate\d7

Code

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