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.
This commit is contained in:
parent
9cb3569e97
commit
0cc9426c6d
1 changed files with 6 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue