Skip to content

Commit

Permalink
Fix broken unit test
Browse files Browse the repository at this point in the history
If the response is a bad request, we should probably not have anything
in the request message.
  • Loading branch information
haacked committed Sep 10, 2013
1 parent 515acdc commit 9b423a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RestSharp.IntegrationTests/StatusCodeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void Handles_Different_Root_Element_On_Error()
var response = client.Execute<Response>(request);

Assert.Equal(HttpStatusCode.BadRequest, response.StatusCode);
Assert.Equal("Not found!", response.Data.Message);
Assert.Null(response.Data);
}
}

Expand Down

0 comments on commit 9b423a8

Please sign in to comment.