Refactor code formatting and improve readability: standardize line breaks and indentation across various endpoint files, enhancing code clarity and maintainability. Update package version formatting in Directory.Packages.props for consistency.

This commit is contained in:
Leonid Pershin
2026-07-25 19:55:01 +03:00
parent 1f6fa6f1ae
commit f57b7503ed
122 changed files with 1856 additions and 892 deletions
@@ -26,7 +26,9 @@ public class LoginCommandHandlerTests
.Returns(Result.Success(new AuthenticatedUser(userId, "alice", "user")));
_identityService
.GetProfileAsync(userId, Arg.Any<CancellationToken>())
.Returns(new CurrentUserProfile(userId, "alice", Guid.NewGuid(), "user", IsBlocked: false));
.Returns(
new CurrentUserProfile(userId, "alice", Guid.NewGuid(), "user", IsBlocked: false)
);
_jwtTokenService
.GenerateAccessToken(Arg.Any<AuthenticatedUser>())
.Returns(("access-token", DateTimeOffset.UtcNow.AddMinutes(15)));
@@ -65,7 +67,9 @@ public class LoginCommandHandlerTests
.Returns(Result.Success(new AuthenticatedUser(userId, "alice", "user")));
_identityService
.GetProfileAsync(userId, Arg.Any<CancellationToken>())
.Returns(new CurrentUserProfile(userId, "alice", Guid.NewGuid(), "user", IsBlocked: true));
.Returns(
new CurrentUserProfile(userId, "alice", Guid.NewGuid(), "user", IsBlocked: true)
);
var result = await CreateHandler()
.Handle(new LoginCommand("alice", "password123"), CancellationToken.None);