Fix some tests

This commit is contained in:
Conrad Irwin 2023-10-17 10:15:20 -06:00
parent 2456c077f6
commit 3412becfc5
2 changed files with 10 additions and 9 deletions

View file

@ -143,7 +143,8 @@ impl Database {
channel_id: ActiveValue::Set(channel_id_to_join),
user_id: ActiveValue::Set(user_id),
accepted: ActiveValue::Set(true),
role: ActiveValue::Set(ChannelRole::Guest),
// TODO: change this back to Guest.
role: ActiveValue::Set(ChannelRole::Member),
})
.exec(&*tx)
.await?;