From bfcb034442ec72d2486af7f75d6c1db5b4ce115a Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 5 Jun 2025 15:14:44 +0200 Subject: [PATCH] Fix test --- test/Api.Test/KeyManagement/Controllers/UsersControllerTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Api.Test/KeyManagement/Controllers/UsersControllerTests.cs b/test/Api.Test/KeyManagement/Controllers/UsersControllerTests.cs index 9b9595b6d9..61bdbb342e 100644 --- a/test/Api.Test/KeyManagement/Controllers/UsersControllerTests.cs +++ b/test/Api.Test/KeyManagement/Controllers/UsersControllerTests.cs @@ -25,7 +25,7 @@ public class UsersControllerTests SutProvider sutProvider) { sutProvider.GetDependency().GetPublicKeyAsync(Arg.Any()).ReturnsNull(); - await Assert.ThrowsAsync(() => sutProvider.Sut.GetPublicKey("invalid-id")); + await Assert.ThrowsAsync(() => sutProvider.Sut.GetPublicKey(new Guid().ToString())); } [Theory]