Skip to content

Commit

Permalink
Fix test http status code
Browse files Browse the repository at this point in the history
  • Loading branch information
natenho committed Aug 25, 2024
1 parent b7b1af7 commit 63f1a38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public Task Response(HttpResponse httpResponse)
{
httpResponse.StatusCode = (int)HttpStatusCode.InternalServerError;

var bodyBytes = Encoding.UTF8.GetBytes($"Error {httpResponse.StatusCode}: {HttpStatusCode.ServiceUnavailable}");
var bodyBytes = Encoding.UTF8.GetBytes($"Error {httpResponse.StatusCode}: {HttpStatusCode.InternalServerError}");

return httpResponse.Body.WriteAsync(bodyBytes, 0, bodyBytes.Length);
}
Expand Down

0 comments on commit 63f1a38

Please sign in to comment.