protected function doActionUpdate() { // Create a test action with a known label.
$name = 'system.action.apple';
$entity = Action::
create([ 'id' => 'apple',
'plugin' => 'action_message_action',
]);
$entity->
save();
$this->
checkSinglePluginConfigSync($entity, 'configuration', 'message', ''
);
// Read the existing data, and prepare an altered version in sync.
$custom_data =
$original_data =
$this->container->
get('config.storage'
)->
read($name);
$custom_data['configuration'
]['message'
] = 'Granny Smith';
$this->
assertConfigUpdateImport($name,
$original_data,
$custom_data);
} /**
* Tests updating a block during import.
*/