mirror of
https://github.com/bitwarden/server
synced 2025-12-18 17:23:28 +00:00
Send in Guid instead of Cipher (#2662)
This commit is contained in:
@@ -159,7 +159,7 @@ public class CipherRepositoryTests
|
|||||||
var postEfCipher = await sut.CreateAsync(cipher);
|
var postEfCipher = await sut.CreateAsync(cipher);
|
||||||
sut.ClearChangeTracking();
|
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();
|
var modifiedUsers = await sut.Run(query).ToListAsync();
|
||||||
Assert.True(modifiedUsers
|
Assert.True(modifiedUsers
|
||||||
.All(u => u.AccountRevisionDate.ToShortDateString() ==
|
.All(u => u.AccountRevisionDate.ToShortDateString() ==
|
||||||
|
|||||||
Reference in New Issue
Block a user