diff --git a/tests/adapter/matrix/test_dispatcher.py b/tests/adapter/matrix/test_dispatcher.py index 7fa7a47..f338495 100644 --- a/tests/adapter/matrix/test_dispatcher.py +++ b/tests/adapter/matrix/test_dispatcher.py @@ -276,7 +276,7 @@ async def test_bot_assigns_platform_chat_id_for_existing_managed_room(): runtime.dispatcher.dispatch.assert_awaited_once() -async def test_bot_routes_plain_messages_via_platform_chat_id(): +async def test_bot_keeps_local_chat_id_for_plain_messages(): runtime = build_runtime(platform=MockPlatformClient()) await set_room_meta( runtime.store, @@ -297,7 +297,7 @@ async def test_bot_routes_plain_messages_via_platform_chat_id(): await bot.on_room_message(room, event) dispatched = runtime.dispatcher.dispatch.await_args.args[0] - assert dispatched.chat_id == "41" + assert dispatched.chat_id == "C1" assert dispatched.text == "hello"