1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-20 02:48:03 -05:00

Fix tests

This commit is contained in:
Bernd Schoolmann 2025-06-19 16:03:31 +02:00
parent 55fa54c7b4
commit 4925baf41b
No known key found for this signature in database

View File

@ -25,7 +25,7 @@ public class UsersControllerTests
SutProvider<UsersController> sutProvider) SutProvider<UsersController> sutProvider)
{ {
sutProvider.GetDependency<IUserRepository>().GetPublicKeyAsync(Arg.Any<Guid>()).ReturnsNull(); sutProvider.GetDependency<IUserRepository>().GetPublicKeyAsync(Arg.Any<Guid>()).ReturnsNull();
await Assert.ThrowsAsync<NotFoundException>(() => sutProvider.Sut.GetPublicKeyAsync(new Guid()); await Assert.ThrowsAsync<NotFoundException>(() => sutProvider.Sut.GetPublicKeyAsync(new Guid()));
} }
[Theory] [Theory]