File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
test/RestSharp.IntegrationTests Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,6 @@ namespace RestSharp.IntegrationTests
8
8
[ TestFixture ]
9
9
public class ProxyTests
10
10
{
11
- class RequestBodyCapturer
12
- {
13
- public const string RESOURCE = "Capture" ;
14
- }
15
-
16
11
[ Test ]
17
12
public void Set_Invalid_Proxy_Fails ( )
18
13
{
@@ -21,10 +16,6 @@ public void Set_Invalid_Proxy_Fails()
21
16
var client = new RestClient ( server . Url ) { Proxy = new WebProxy ( "non_existent_proxy" , false ) } ;
22
17
var request = new RestRequest ( ) ;
23
18
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
21
Assert . False ( response . IsSuccessful ) ;
You can’t perform that action at this time.
0 commit comments