1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Send in Guid instead of Cipher (#2662)

This commit is contained in:
Justin Baur
2023-02-02 12:12:41 -05:00
committed by GitHub
parent e019f0191d
commit 6390aaa011

View File

@ -159,7 +159,7 @@ public class CipherRepositoryTests
var postEfCipher = await sut.CreateAsync(cipher);
sut.ClearChangeTracking();
var query = new UserBumpAccountRevisionDateByCipherIdQuery(cipher, cipher.OrganizationId.Value);
var query = new UserBumpAccountRevisionDateByCipherIdQuery(cipher.Id, cipher.OrganizationId.Value);
var modifiedUsers = await sut.Run(query).ToListAsync();
Assert.True(modifiedUsers
.All(u => u.AccountRevisionDate.ToShortDateString() ==