mirror of https://github.com/openclaw/openclaw.git
Gateway Credentials: allowlist password fixtures
This commit is contained in:
parent
889a60e122
commit
ace64831e0
|
|
@ -125,18 +125,18 @@ describe("resolveGatewayCredentialsFromConfig", () => {
|
|||
cfg: cfg({
|
||||
gateway: {
|
||||
mode: "local",
|
||||
auth: { token: "config-token", password: "config-password" },
|
||||
auth: { token: "config-token", password: "config-password" }, // pragma: allowlist secret
|
||||
},
|
||||
}),
|
||||
env: {
|
||||
OPENCLAW_GATEWAY_TOKEN: "env-token",
|
||||
OPENCLAW_GATEWAY_PASSWORD: "env-password",
|
||||
OPENCLAW_GATEWAY_PASSWORD: "env-password", // pragma: allowlist secret
|
||||
OPENCLAW_SERVICE_KIND: "gateway",
|
||||
} as NodeJS.ProcessEnv,
|
||||
});
|
||||
expect(resolved).toEqual({
|
||||
token: "config-token",
|
||||
password: "env-password",
|
||||
password: "env-password", // pragma: allowlist secret
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue