mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten runtime auth fallback warning assertion
This commit is contained in:
@@ -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",
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user