From dfa4c3a12b2b4f46310c889f78f7279b97e56448 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 4 Dec 2025 13:29:31 +0100 Subject: [PATCH] Fix test --- test/Api.Test/Auth/Controllers/AccountsControllerTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Api.Test/Auth/Controllers/AccountsControllerTests.cs b/test/Api.Test/Auth/Controllers/AccountsControllerTests.cs index e0b7eedecc..4dd1328b72 100644 --- a/test/Api.Test/Auth/Controllers/AccountsControllerTests.cs +++ b/test/Api.Test/Auth/Controllers/AccountsControllerTests.cs @@ -766,7 +766,7 @@ public class AccountsControllerTests : IDisposable // Assert await _setAccountKeysForUserCommand.Received(1).SetAccountKeysForUserAsync( - user.Id, + user, model.AccountKeys); await _userService.DidNotReceiveWithAnyArgs().SaveUserAsync(Arg.Any()); Assert.NotNull(result); @@ -796,7 +796,7 @@ public class AccountsControllerTests : IDisposable u.PublicKey == model.PublicKey && u.PrivateKey == model.EncryptedPrivateKey)); await _setAccountKeysForUserCommand.DidNotReceiveWithAnyArgs() - .SetAccountKeysForUserAsync(Arg.Any(), Arg.Any()); + .SetAccountKeysForUserAsync(Arg.Any(), Arg.Any()); Assert.NotNull(result); Assert.Equal("keys", result.Object); }