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:
@@ -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]
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user