From 49c771bc8c4a6f9f0da004856a06a4d4cd933643 Mon Sep 17 00:00:00 2001 From: SuZhou-Joe Date: Wed, 17 Apr 2024 10:17:53 +0800 Subject: [PATCH] fix: integration test Signed-off-by: SuZhou-Joe --- .../integration_tests/workspace_id_consumer_wrapper.test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, }) );