mirror of
https://github.com/bitwarden/server.git
synced 2025-05-25 13:24:50 -05:00
Use single delete method
This commit is contained in:
parent
ad7ce2abf4
commit
69afce6f4e
@ -87,8 +87,9 @@ public class CollectionRepositoryReplaceTests
|
||||
Assert.Single(users, u => u.Id == orgUser3.Id && u.Manage && !u.HidePasswords && u.ReadOnly);
|
||||
|
||||
// Clean up data
|
||||
// TODO: why doesn't delete many work?
|
||||
await userRepository.DeleteManyAsync([user1, user2, user3]);
|
||||
await userRepository.DeleteAsync(user1);
|
||||
await userRepository.DeleteAsync(user2);
|
||||
await userRepository.DeleteAsync(user3);
|
||||
await organizationRepository.DeleteAsync(organization);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user