Skip to content

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Jun 28, 2024
1 parent f7c88eb commit 42222d4
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions xmtp_mls/src/groups/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2418,7 +2418,12 @@ mod tests {

// Step 4: Bola attempts to update permissions but fails because they are not a super admin
let result = bola_group
.update_permission_policy(&bola, PermissionUpdateType::AddMember, PermissionPolicyOption::Allow, None)
.update_permission_policy(
&bola,
PermissionUpdateType::AddMember,
PermissionPolicyOption::Allow,
None,
)
.await;
if let Err(e) = &result {
eprintln!("Error updating permissions: {:?}", e);
Expand All @@ -2428,7 +2433,12 @@ mod tests {

// Step 5: Amal updates group permissions so that all members can add
amal_group
.update_permission_policy(&amal, PermissionUpdateType::AddMember, PermissionPolicyOption::Allow, None)
.update_permission_policy(
&amal,
PermissionUpdateType::AddMember,
PermissionPolicyOption::Allow,
None,
)
.await
.unwrap();

Expand Down

0 comments on commit 42222d4

Please sign in to comment.