function MigrateSyslogConfigsTest::setUp

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

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php, line 25

Class

MigrateSyslogConfigsTest
Upgrade variables to syslog.settings.yml.

Namespace

Drupal\Tests\syslog\Kernel\Migrate\d6

Code

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

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