Skip to content

Commit

Permalink
Remove whitespace to fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder authored Oct 22, 2023
1 parent e028247 commit befd157
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LeaderboardBackend.Test/Features/Users/ResetPasswordTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -248,12 +248,12 @@ public async Task ResetPassword_BadPassword(string pwd)
res.Should().HaveStatusCode(System.Net.HttpStatusCode.UnprocessableEntity);
ValidationProblemDetails? content = await res.Content.ReadFromJsonAsync<ValidationProblemDetails>();
content.Should().NotBeNull();

content!.Errors.Should().BeEquivalentTo(new Dictionary<string, string[]>
{
{ nameof(RegisterRequest.Password), new[] { "PasswordFormat" } }
});

context.ChangeTracker.Clear();
recovery = await context.AccountRecoveries.Include(ar => ar.User).SingleAsync(ar => ar.Id == recovery.Id);
recovery.UsedAt.Should().BeNull();
Expand Down

0 comments on commit befd157

Please sign in to comment.