1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

Fix tests

This commit is contained in:
Thomas Rittson
2023-10-09 14:44:18 +10:00
parent 343ab2d8a9
commit d9b0f01b72
2 changed files with 7 additions and 2 deletions

View File

@ -172,7 +172,7 @@ public class CollectionsControllerTests
.Returns(AuthorizationResult.Success());
// Act
await sutProvider.Sut.DeleteMany(model);
await sutProvider.Sut.DeleteMany(orgId, model);
// Assert
await sutProvider.GetDependency<IDeleteCollectionCommand>()
@ -215,7 +215,7 @@ public class CollectionsControllerTests
// Assert
await Assert.ThrowsAsync<NotFoundException>(() =>
sutProvider.Sut.DeleteMany(model));
sutProvider.Sut.DeleteMany(orgId, model));
await sutProvider.GetDependency<IDeleteCollectionCommand>()
.DidNotReceiveWithAnyArgs()