function MigrateNoMigrateDrupalTest::setUp
Overrides BrowserTestBase::setUp
File
-
core/
modules/ migrate/ tests/ src/ Functional/ MigrateNoMigrateDrupalTest.php, line 38
Class
- MigrateNoMigrateDrupalTest
- Execute migration.
Namespace
Drupal\Tests\migrate\FunctionalCode
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.