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:
Teknium 2026-07-16 06:22:10 -07:00
parent e984a61306
commit fe2d847aca

View file

@ -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(