Make ban test a little more meaningful
This commit is contained in:
parent
1f6b221413
commit
99fed46225
|
@ -56,5 +56,13 @@ async fn guild_create_ban() {
|
|||
)
|
||||
.await
|
||||
.unwrap();
|
||||
assert!(Guild::create_ban(
|
||||
guild.id,
|
||||
other_user_id,
|
||||
GuildBanCreateSchema::default(),
|
||||
&mut bundle.user,
|
||||
)
|
||||
.await
|
||||
.is_err());
|
||||
common::teardown(bundle).await
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue