Skip to content

Commit 43d0502

Browse files
committed
Get request won't work with Body so I removed the test. Breaking change.
1 parent 8adbf53 commit 43d0502

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

test/RestSharp.IntegrationTests/StatusCodeTests.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,6 @@ public void Handles_GET_Request_404_Error()
9797
Assert.AreEqual(HttpStatusCode.NotFound, response.StatusCode);
9898
}
9999

100-
[Test]
101-
public void Handles_GET_Request_404_Error_With_Body()
102-
{
103-
var request = new RestRequest("404");
104-
105-
request.AddBody("This is the body");
106-
107-
var response = _client.Execute(request);
108-
109-
Assert.AreEqual(HttpStatusCode.NotFound, response.StatusCode);
110-
}
111-
112100
[Test, Ignore("Not sure why this hangs")]
113101
public void Reports_1xx_Status_Code_Success_Accurately()
114102
{

0 commit comments

Comments
 (0)