protected function CckMigrationBuilderTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate_drupal/src/Tests/d6/CckMigrationBuilderTest.php \Drupal\migrate_drupal\Tests\d6\CckMigrationBuilderTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ migrate_drupal/ src/ Tests/ d6/ CckMigrationBuilderTest.php, line 25 - Contains \Drupal\migrate_drupal\Tests\d6\CckMigrationBuilderTest.
Class
- CckMigrationBuilderTest
- @group migrate_drupal
Namespace
Drupal\migrate_drupal\Tests\d6Code
protected function setUp() {
parent::setUp();
$database = Database::getConnection('default', 'migrate');
$database
->update('system')
->fields(array(
'status' => 0,
))
->condition('name', 'content')
->condition('type', 'module')
->execute();
$database
->schema()
->dropTable('content_node_field');
$database
->schema()
->dropTable('content_node_field_instance');
}