function MigrateEntityContentValidationTest::setUp
Same name in other branches
- 9 core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php \Drupal\Tests\migrate\Kernel\MigrateEntityContentValidationTest::setUp()
- 10 core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php \Drupal\Tests\migrate\Kernel\MigrateEntityContentValidationTest::setUp()
- 11.x core/modules/migrate/tests/src/Kernel/MigrateEntityContentValidationTest.php \Drupal\Tests\migrate\Kernel\MigrateEntityContentValidationTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ migrate/ tests/ src/ Kernel/ MigrateEntityContentValidationTest.php, line 33
Class
- MigrateEntityContentValidationTest
- Tests validation of an entity during migration.
Namespace
Drupal\Tests\migrate\KernelCode
protected function setUp() {
parent::setUp();
$this->installConfig([
'system',
'user',
]);
$this->installEntitySchema('user');
$this->installEntitySchema('entity_test');
$this->container
->get('event_dispatcher')
->addListener(MigrateEvents::IDMAP_MESSAGE, [
$this,
'mapMessageRecorder',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.