test(matrix): adapt outbound-mention notice test to current _send_simple_message API

This commit is contained in:
Teknium
2026-04-27 21:10:11 -07:00
committed by Teknium
parent 32b78578e0
commit 6649e7e746

View File

@@ -247,10 +247,11 @@ class TestOutboundMentions:
)
@pytest.mark.asyncio
async def test_send_notice_adds_mentions(self):
result = await self.adapter.send_notice(
async def test_send_simple_notice_adds_mentions(self):
result = await self.adapter._send_simple_message(
"!room1:example.org",
"Heads up @alice:example.org",
msgtype="m.notice",
)
assert result.success is True