1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-09 19:57:37 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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() ==