test(telegram): use allowlisted token placeholders in contract fixtures

This commit is contained in:
Ayaan Zaidi
2026-07-15 15:52:34 +05:30
parent 1a27e7f3ec
commit fa3b1b08fc

View File

@@ -13,7 +13,7 @@ describe("telegram actions contract", () => {
cfg: {
channels: {
telegram: {
botToken: "123:telegram-test-token",
botToken: "test-token-placeholder",
},
},
} as OpenClawConfig,
@@ -32,7 +32,7 @@ describe("telegram actions contract", () => {
cfg: {
channels: {
telegram: {
botToken: "123:telegram-test-token",
botToken: "test-token-placeholder",
richMessages,
},
},
@@ -48,7 +48,7 @@ describe("telegram actions contract", () => {
cfg: {
channels: {
telegram: {
botToken: "123:telegram-test-token",
botToken: "test-token-placeholder",
capabilities: [],
},
},
@@ -79,7 +79,7 @@ describe("telegram actions contract", () => {
cfg: {
channels: {
telegram: {
botToken: "123:telegram-test-token",
botToken: "test-token-placeholder",
capabilities: ["vision"],
},
},
@@ -94,7 +94,7 @@ describe("telegram actions contract", () => {
cfg: {
channels: {
telegram: {
botToken: "123:telegram-test-token",
botToken: "test-token-placeholder",
richMessages: true,
accounts: {
ops: {
@@ -133,11 +133,11 @@ describe("telegram actions contract", () => {
defaultAccount: "ops",
accounts: {
default: {
botToken: "123:default-token",
botToken: "test-token-placeholder",
richMessages: false,
},
ops: {
botToken: "123:ops-token",
botToken: "test-token-placeholder",
richMessages: true,
},
},