Created
October 13, 2017 20:03
-
-
Save scottsauber/6f6e280b79944b9b153ccfd645baf50d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Fact] | |
public async Task DoesReturnNotFound_GivenUserDoesNotExist() | |
{ | |
// Act | |
var response = await _client.GetAsync($"/api/ApplicationUsers/abc"); // No users with ID abc | |
// Assert | |
Assert.Equal(HttpStatusCode.NotFound, response.StatusCode); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment