mirror of https://gitlab.com/litecord/litecord.git
tests: assert deleted message is actually deleted
This commit is contained in:
parent
8da480db88
commit
9861823434
|
|
@ -105,6 +105,8 @@ async def test_channel_message_delete(test_cli_user):
|
||||||
)
|
)
|
||||||
assert resp.status_code == 204
|
assert resp.status_code == 204
|
||||||
|
|
||||||
|
assert (await message.refetch()) is None
|
||||||
|
|
||||||
|
|
||||||
async def test_channel_message_delete_different_author(test_cli_user):
|
async def test_channel_message_delete_different_author(test_cli_user):
|
||||||
guild = await test_cli_user.create_guild()
|
guild = await test_cli_user.create_guild()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue