diff --git a/tests/members.rs b/tests/members.rs index a66d25aa..4d23a934 100644 --- a/tests/members.rs +++ b/tests/members.rs @@ -17,13 +17,13 @@ async fn add_remove_role() -> ChorusResult<()> { let guild = bundle.guild.read().unwrap().id; let role = bundle.role.read().unwrap().id; let member_id = bundle.user.object.read().unwrap().id; - GuildMember::add_role(&mut bundle.user, guild, member_id, role).await?; + GuildMember::add_role(&mut bundle.user, None, guild, member_id, role).await?; let member = GuildMember::get(&mut bundle.user, guild, member_id) .await .unwrap(); assert!(member.roles.contains(&role)); - GuildMember::remove_role(&mut bundle.user, guild, member_id, role).await?; + GuildMember::remove_role(&mut bundle.user, None, guild, member_id, role).await?; let member = GuildMember::get(&mut bundle.user, guild, member_id) .await .unwrap();