You are here

protected function MigrateNoMigrateDrupalTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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',
  ]);
}