We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ad15a7 commit 9fc93bbCopy full SHA for 9fc93bb
tests/FunctionalTests/Api.FunctionalTests/Users/RegisterUserTests.cs
@@ -98,6 +98,6 @@ public async Task Should_ReturnConflict_WhenUserExists()
98
// Act
99
HttpResponseMessage response = await HttpClient.PostAsJsonAsync("/users/register", request);
100
// Assert
101
- response.StatusCode.Should().Be(HttpStatusCode.OK);
+ response.StatusCode.Should().Be(HttpStatusCode.Conflict);
102
}
103
0 commit comments