File tree 2 files changed +1
-19
lines changed
src/test/java/com/ning/http/client/async
2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -191,23 +191,7 @@ public void testUrlRequestParametersEncoding() throws Throwable {
191
191
String requestUrl2 = URL + URLEncoder .encode (REQUEST_PARAM , "UTF-8" );
192
192
log .info (String .format ("Executing request [%s] ..." , requestUrl2 ));
193
193
Response response = client .prepareGet (requestUrl2 ).execute ().get ();
194
- Assert .assertEquals (response .getStatusCode (), 301 );
195
- } finally {
196
- client .close ();
197
- }
198
- }
199
-
200
- /**
201
- * See https://issues.sonatype.org/browse/AHC-61
202
- *
203
- * @throws Throwable
204
- */
205
- @ Test (groups = { "online" , "default_provider" })
206
- public void testAHC60 () throws Throwable {
207
- AsyncHttpClient client = getAsyncHttpClient (null );
208
- try {
209
- Response response = client .prepareGet ("http://www.meetup.com/stackoverflow/Mountain-View-CA/" ).execute ().get ();
210
- Assert .assertEquals (response .getStatusCode (), 200 );
194
+ Assert .assertEquals (response .getStatusCode (), 302 );
211
195
} finally {
212
196
client .close ();
213
197
}
Original file line number Diff line number Diff line change @@ -25,6 +25,4 @@ public class NettyRemoteSiteTest extends RemoteSiteTest {
25
25
public AsyncHttpClient getAsyncHttpClient (AsyncHttpClientConfig config ) {
26
26
return ProviderUtil .nettyProvider (config );
27
27
}
28
-
29
-
30
28
}
You can’t perform that action at this time.
0 commit comments