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:
parent
e019f0191d
commit
6390aaa011
@ -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() ==
|
||||||
|
Loading…
Reference in New Issue
Block a user