mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-21 16:18:55 +00:00
test: valid-shape Telegram token in port-binding guard fixture
The #62803 branch predates PR #64636's Telegram token-shape validation on the messaging platform PUT endpoint; align the new guard test's fixture with the validated format.
This commit is contained in:
parent
e984a61306
commit
fe2d847aca
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ class TestMultiplexPortBindingGuard:
|
|||
resp = client.put(
|
||||
"/api/messaging/platforms/telegram",
|
||||
params={"profile": "worker_alpha"},
|
||||
json={"enabled": True, "env": {"TELEGRAM_BOT_TOKEN": "worker-token"}},
|
||||
json={"enabled": True, "env": {"TELEGRAM_BOT_TOKEN": _VALID_WORKER_BOT_TOKEN}},
|
||||
)
|
||||
assert resp.status_code == 200
|
||||
cfg = yaml.safe_load(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue