We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 173533d commit 815895fCopy full SHA for 815895f
test/RestSharp.IntegrationTests/ProxyTests.cs
@@ -8,11 +8,6 @@ namespace RestSharp.IntegrationTests
8
[TestFixture]
9
public class ProxyTests
10
{
11
- class RequestBodyCapturer
12
- {
13
- public const string RESOURCE = "Capture";
14
- }
15
-
16
[Test]
17
public void Set_Invalid_Proxy_Fails()
18
@@ -21,10 +16,6 @@ public void Set_Invalid_Proxy_Fails()
21
var client = new RestClient(server.Url) {Proxy = new WebProxy("non_existent_proxy", false)};
22
var request = new RestRequest();
23
24
- const string contentType = "text/plain";
25
- const string bodyData = "abc123 foo bar baz BING!";
26
27
- request.AddParameter(contentType, bodyData, ParameterType.RequestBody);
28
19
var response = client.Get(request);
29
20
30
Assert.False(response.IsSuccessful);
0 commit comments