You are here

protected function MigrateTestBase::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::setUp()

Overrides KernelTestBase::setUp

14 calls to MigrateTestBase::setUp()
EntityRevisionTest::setUp in core/modules/migrate/tests/src/Kernel/Plugin/EntityRevisionTest.php
HighWaterTest::setUp in core/modules/migrate/tests/src/Kernel/HighWaterTest.php
MigrateBundleTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateBundleTest.php
MigrateDrupalTestBase::setUp in core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php
MigrateExecutableTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateExecutableTest.php

... See full list

14 methods override MigrateTestBase::setUp()
EntityRevisionTest::setUp in core/modules/migrate/tests/src/Kernel/Plugin/EntityRevisionTest.php
HighWaterTest::setUp in core/modules/migrate/tests/src/Kernel/HighWaterTest.php
MigrateBundleTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateBundleTest.php
MigrateDrupalTestBase::setUp in core/modules/migrate_drupal/tests/src/Kernel/MigrateDrupalTestBase.php
MigrateExecutableTest::setUp in core/modules/migrate/tests/src/Kernel/MigrateExecutableTest.php

... See full list

File

core/modules/migrate/tests/src/Kernel/MigrateTestBase.php, line 66

Class

MigrateTestBase
Creates abstract base class for migration tests.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->createMigrationConnection();
  $this->sourceDatabase = Database::getConnection('default', 'migrate');
}