diff --git a/src/plugins/workspace/server/saved_objects/integration_tests/workspace_id_consumer_wrapper.test.ts b/src/plugins/workspace/server/saved_objects/integration_tests/workspace_id_consumer_wrapper.test.ts index 75c0fd380bcc..e9370ba892c9 100644 --- a/src/plugins/workspace/server/saved_objects/integration_tests/workspace_id_consumer_wrapper.test.ts +++ b/src/plugins/workspace/server/saved_objects/integration_tests/workspace_id_consumer_wrapper.test.ts @@ -178,14 +178,14 @@ describe('workspace_id_consumer integration test', () => { .expect(200); expect(createResultFoo.body.saved_objects[0].error).toEqual( expect.objectContaining({ - message: "Unsupport type in workspace: 'config' is not allowed to import in workspace.", + message: + "Unsupport type in workspace: 'data-source' is not allowed to import in workspace.", statusCode: 400, }) ); expect(createResultFoo.body.saved_objects[1].error).toEqual( expect.objectContaining({ - message: - "Unsupport type in workspace: 'data-source' is not allowed to import in workspace.", + message: "Unsupport type in workspace: 'config' is not allowed to import in workspace.", statusCode: 400, }) );