test: feishu port-binding report expects webhook mode after #52563 integration
With the mode-conditional check centralized, default (websocket) Feishu no longer counts as port-binding in the secondary batch report — pin the fixture to connection_mode=webhook so the test still exercises the multi-platform report path.fix/verification-admin-route-recovery
parent
9cb3569e97
commit
0cc9426c6d
|
|
@ -182,7 +182,12 @@ class TestSecondaryProfileConfigHandling:
|
|||
|
||||
reviewer_cfg = GatewayConfig(multiplex_profiles=True)
|
||||
reviewer_cfg.platforms = {
|
||||
Platform.FEISHU: PlatformConfig(enabled=True),
|
||||
# connection_mode=webhook: with #52563's conditional check merged,
|
||||
# default (websocket) Feishu no longer binds a port — only webhook
|
||||
# mode should be reported here.
|
||||
Platform.FEISHU: PlatformConfig(
|
||||
enabled=True, extra={"connection_mode": "webhook"}
|
||||
),
|
||||
Platform.WEBHOOK: PlatformConfig(enabled=True, extra={"port": 8644}),
|
||||
Platform.TELEGRAM: PlatformConfig(enabled=True, token="t"),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue