function MigrateDblogConfigsTest::setUp
Same name in this branch
- 10 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()
Same name in other branches
- 9 core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::setUp()
- 9 core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()
- 8.9.x core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::setUp()
- 8.9.x core/modules/dblog/tests/src/Kernel/Migrate/d7/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d7\MigrateDblogConfigsTest::setUp()
- 11.x core/modules/dblog/tests/src/Kernel/Migrate/d6/MigrateDblogConfigsTest.php \Drupal\Tests\dblog\Kernel\Migrate\d6\MigrateDblogConfigsTest::setUp()
- 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\d6Code
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.