function MigrateDblogConfigsTest::setUp

Same name in this branch
  1. 10 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()
Same name in other branches
  1. 9 core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::setUp()
  2. 9 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()
  3. 8.9.x core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::setUp()
  4. 8.9.x core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()
  5. 11.x core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::setUp()
  6. 11.x core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php, line 27

Class

MigrateDblogConfigsTest
Upgrade variables to dblog.settings.yml.

Namespace

Drupal\Tests\dblog\Kernel\Migrate\d6

Code

protected function setUp() : void {
    parent::setUp();
    // Enable dblog in the source database so that requirements are met.
    $this->sourceDatabase
        ->update('system')
        ->condition('name', 'dblog')
        ->fields([
        'status' => '1',
    ])
        ->execute();
    $this->executeMigration('d6_dblog_settings');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.