From 64934cfa1a8c02f57d205a6ee10bbc7a5f215885 Mon Sep 17 00:00:00 2001 From: Flemmli97 Date: Mon, 2 Dec 2024 17:29:15 +0100 Subject: [PATCH] fix tests --- extensions/warp-ipfs/tests/community.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/warp-ipfs/tests/community.rs b/extensions/warp-ipfs/tests/community.rs index ce8eeec00..52c15e658 100644 --- a/extensions/warp-ipfs/tests/community.rs +++ b/extensions/warp-ipfs/tests/community.rs @@ -3416,7 +3416,7 @@ mod test { MessageEventKind::RevokedCommunityChannelPermissionForAll { community_id: community.id(), channel_id: channel.id(), - permission: CommunityChannelPermission::SendMessages, + permissions: vec![CommunityChannelPermission::SendMessages.to_string()], }, ) .await?; @@ -3608,7 +3608,7 @@ mod test { MessageEventKind::RevokedCommunityChannelPermissionForAll { community_id: community.id(), channel_id: channel.id(), - permission: CommunityChannelPermission::SendMessages, + permissions: vec![CommunityChannelPermission::SendMessages.to_string()], }, ) .await?; @@ -3993,7 +3993,7 @@ mod test { Duration::from_secs(60), MessageEventKind::RevokedCommunityPermissionForAll { community_id: community.id(), - permission: CommunityPermission::PinMessages, + permissions: vec![CommunityPermission::PinMessages.to_string()], }, ) .await?; @@ -4193,7 +4193,7 @@ mod test { MessageEventKind::RevokedCommunityChannelPermissionForAll { community_id: community.id(), channel_id: channel.id(), - permission: CommunityChannelPermission::ViewChannel, + permissions: vec![CommunityChannelPermission::ViewChannel.to_string()], }, ) .await?;