mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-25 03:53:04 +00:00
test: check synthetic auth discovery calls
This commit is contained in:
@@ -70,7 +70,9 @@ describe("pi model discovery synthetic auth", () => {
|
||||
await withAgentDir(async (agentDir) => {
|
||||
const credentials = resolvePiCredentialsForDiscovery(agentDir, { readOnly: true });
|
||||
|
||||
expect(resolveRuntimeSyntheticAuthProviderRefs).toHaveBeenCalled();
|
||||
expect(resolveRuntimeSyntheticAuthProviderRefs).toHaveBeenCalledTimes(1);
|
||||
expect(resolveRuntimeSyntheticAuthProviderRefs).toHaveBeenCalledWith();
|
||||
expect(resolveProviderSyntheticAuthWithPlugin).toHaveBeenCalledTimes(1);
|
||||
expect(resolveProviderSyntheticAuthWithPlugin).toHaveBeenCalledWith({
|
||||
provider: "claude-cli",
|
||||
context: {
|
||||
|
||||
Reference in New Issue
Block a user