mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 06:30:42 +00:00
test: tighten model auth marker assertion
This commit is contained in:
@@ -74,15 +74,12 @@ describe("model auth markers", () => {
|
||||
});
|
||||
|
||||
it("reads bundled plugin-owned non-secret markers from manifests", () => {
|
||||
expect(listKnownNonSecretApiKeyMarkers()).toEqual(
|
||||
expect.arrayContaining([
|
||||
"codex-app-server",
|
||||
"gcp-vertex-credentials",
|
||||
"lmstudio-local",
|
||||
"minimax-oauth",
|
||||
"ollama-local",
|
||||
]),
|
||||
);
|
||||
const markers = new Set(listKnownNonSecretApiKeyMarkers());
|
||||
expect(markers.has("codex-app-server")).toBe(true);
|
||||
expect(markers.has("gcp-vertex-credentials")).toBe(true);
|
||||
expect(markers.has("lmstudio-local")).toBe(true);
|
||||
expect(markers.has("minimax-oauth")).toBe(true);
|
||||
expect(markers.has("ollama-local")).toBe(true);
|
||||
});
|
||||
|
||||
it("does not treat removed provider markers as active auth markers", () => {
|
||||
|
||||
Reference in New Issue
Block a user