From 07d1c4cd418a03fda04932770452ad2ebf91023b Mon Sep 17 00:00:00 2001 From: Shakker Date: Mon, 11 May 2026 01:33:11 +0100 Subject: [PATCH] test: tighten runtime auth fallback warning assertion --- src/agents/pi-embedded-runner/run/auth-controller.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/agents/pi-embedded-runner/run/auth-controller.test.ts b/src/agents/pi-embedded-runner/run/auth-controller.test.ts index e6feeb4a5c6..c786dfbbc31 100644 --- a/src/agents/pi-embedded-runner/run/auth-controller.test.ts +++ b/src/agents/pi-embedded-runner/run/auth-controller.test.ts @@ -494,9 +494,7 @@ describe("createEmbeddedRunAuthController", () => { expect(setRuntimeApiKey).toHaveBeenCalledWith("custom-openai", "__aws_sdk_auth__"); expect(harness.runtimeAuthState).toBeNull(); expect(warn).toHaveBeenCalledWith( - expect.stringContaining( - "prepareProviderRuntimeAuth failed for custom-openai, falling back to sentinel: No runtime auth plugin", - ), + "prepareProviderRuntimeAuth failed for custom-openai, falling back to sentinel: No runtime auth plugin", ); }); });