1
0
mirror of https://github.com/bitwarden/server synced 2026-03-01 10:51:26 +00:00

[PM-32764] Archive Sync Notifications Double Sync Solve (#7093)

* exclude double sync on archive and unarchive
This commit is contained in:
Jason Ng
2026-02-27 12:28:31 -05:00
committed by GitHub
parent 1961bb5cc9
commit 938b598a82
5 changed files with 10 additions and 8 deletions

View File

@@ -43,7 +43,7 @@ public class ArchiveCiphersCommandTest
: ids.All(id => cipherList.Contains(cipher))),
user.Id);
await sutProvider.GetDependency<IPushNotificationService>().Received(pushNotificationsCalls)
.PushSyncCiphersAsync(user.Id);
.PushSyncCiphersAsync(user.Id, true);
}
[Theory]

View File

@@ -43,7 +43,7 @@ public class UnarchiveCiphersCommandTest
: ids.All(id => cipherList.Contains(cipher))),
user.Id);
await sutProvider.GetDependency<IPushNotificationService>().Received(pushNotificationsCalls)
.PushSyncCiphersAsync(user.Id);
.PushSyncCiphersAsync(user.Id, true);
}
[Theory]