'target_bundle' => 'entity_test_mul',
'default_langcode' => 'site_default',
'language_alterable' => FALSE,
'third_party_settings' =>
[ 'content_translation' =>
['enabled' => TRUE
],
],
];
$sync->
write($config_name,
$data);
$this->
assertTrue($sync->
exists($config_name),
$config_name . ' found.'
);
// Import.
$this->configImporter->
reset()->
import();
// Verify the values appeared.
$config =
$this->
config($config_name);
$this->
assertSame($config_id,
$config->
get('id'
));
// Verify that updates were performed.
$entity_type =
$this->container->
get('entity_type.manager'
)->
getDefinition($entity_type_id);
$table =
$entity_type->
getDataTable();
$db_schema =
$this->container->
get('database'
)->
schema();
$result =
$db_schema->
fieldExists($table, 'content_translation_source'
) &&
$db_schema->
fieldExists($table, 'content_translation_outdated'
);
$this->
assertTrue($result, 'Content translation updates were successfully performed during config import.'
);
}