mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 18:54:48 +00:00
test: verify gateway auth diagnostics
This commit is contained in:
@@ -217,10 +217,9 @@ describe("resolveAuthForTarget", () => {
|
||||
{},
|
||||
);
|
||||
|
||||
expect(auth.diagnostics).toContain(
|
||||
expect(auth.diagnostics).toStrictEqual([
|
||||
"gateway.auth.token SecretRef is unresolved (env:default:MISSING_GATEWAY_TOKEN).",
|
||||
);
|
||||
expect(auth.diagnostics?.join("\n")).not.toContain("missing or empty");
|
||||
]);
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user