From e1c7db1431b3acfe811b3eedcbfb6c74cba6527d Mon Sep 17 00:00:00 2001 From: Ning Tang Date: Mon, 1 Jul 2024 13:44:54 +0800 Subject: [PATCH] fix: unit test --- packages/fx-core/tests/core/FxCore.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/fx-core/tests/core/FxCore.test.ts b/packages/fx-core/tests/core/FxCore.test.ts index c2779480a5..a715db6d1a 100644 --- a/packages/fx-core/tests/core/FxCore.test.ts +++ b/packages/fx-core/tests/core/FxCore.test.ts @@ -430,11 +430,11 @@ describe("Core basic APIs", () => { // Cannot assert the full message because the mocked code can't get correct env file path assert.include( res.error.message, - "The program cannot proceed as the following environment variables are missing: 'AAD_APP_OBJECT_ID', which are required for file: fake path. Make sure the required variables are set either by editing the .env file" + "The program cannot proceed because the following environment variables are missing: 'AAD_APP_OBJECT_ID' for file: fake path. Please set them by editing the .env file" ); assert.include( res.error.message, - "If you are developing with a new project created with Teams Toolkit, running provision or debug will register correct values for these environment variables" + "For new Teams Toolkit projects, running provision or debug will register correct values for these environment variables." ); } });