Make ban test a little more meaningful

This commit is contained in:
bitfl0wer 2023-08-20 19:26:00 +02:00
parent 1f6b221413
commit 99fed46225
1 changed files with 8 additions and 0 deletions

View File

@ -56,5 +56,13 @@ async fn guild_create_ban() {
) )
.await .await
.unwrap(); .unwrap();
assert!(Guild::create_ban(
guild.id,
other_user_id,
GuildBanCreateSchema::default(),
&mut bundle.user,
)
.await
.is_err());
common::teardown(bundle).await common::teardown(bundle).await
} }