Added skorubauserservice tests

This commit is contained in:
2026-10-11 07:43:51 +02:00
parent 381d5b7e94
commit 9a0371fb08
6 changed files with 181 additions and 43 deletions
@@ -147,7 +147,7 @@ public sealed class UserService(IDbContextFactory<ApplicationDbContext> contextF
if (await context.Users.AnyAsync(u => u.Email == email, cancellationToken))
return Result.Fail(ValidationError.Create("User with this email already exists."));
var createUserResult = await skorubaService.CreateUserAsync(request, userId, cancellationToken);
var createUserResult = await skorubaService.CreateUserAsync(request, cancellationToken);
if (createUserResult.IsFailed)
return Result.Fail(CreateError.Create("Failed to create user."));