public function MigrateFieldInstanceWidgetSettingsTest::testWidgetSettings in Inline Entity Form 8
Test that migrated view modes can be loaded using D8 APIs.
File
- tests/
src/ Kernel/ Migrate/ MigrateFieldInstanceWidgetSettingsTest.php, line 79
Class
- MigrateFieldInstanceWidgetSettingsTest
- Tests migration of inline_entity_form widgets settings.
Namespace
Drupal\Tests\inline_entity_form\Kernel\MigrateCode
public function testWidgetSettings() {
$this
->assertEntity('node.test.default', 'node', 'test');
$this
->assertComponent('node.test.default', 'body', 'text_textarea_with_summary', -4);
$this
->assertComponent('node.test.default', 'field_single', 'inline_entity_form_simple', -3);
$this
->assertComponent('node.test.default', 'field_multiple', 'inline_entity_form_complex', -2);
}