function MigrateNoMigrateDrupalTest::setUp

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php \Drupal\Tests\migrate\Functional\MigrateNoMigrateDrupalTest::setUp()
  2. 10 core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php \Drupal\Tests\migrate\Functional\MigrateNoMigrateDrupalTest::setUp()
  3. 11.x core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php \Drupal\Tests\migrate\Functional\MigrateNoMigrateDrupalTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/migrate/tests/src/Functional/MigrateNoMigrateDrupalTest.php, line 38

Class

MigrateNoMigrateDrupalTest
Execute migration.

Namespace

Drupal\Tests\migrate\Functional

Code

protected function setUp() {
    parent::setUp();
    // Ensures that code from the migrate_drupal module can not be autoloaded
    // while testing on DrupalCI.
    $this->writeSettings([
        'settings' => [
            'deployment_identifier' => (object) [
                'value' => 'force-new-apcu-key',
                'required' => TRUE,
            ],
        ],
    ]);
    $this->createContentType([
        'type' => 'no_migrate_drupal',
    ]);
}

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