File tree Expand file tree Collapse file tree 2 files changed +1
-19
lines changed
src/test/java/com/ning/http/client/async Expand file tree Collapse file tree 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 {
191191 String requestUrl2 = URL + URLEncoder .encode (REQUEST_PARAM , "UTF-8" );
192192 log .info (String .format ("Executing request [%s] ..." , requestUrl2 ));
193193 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 );
211195 } finally {
212196 client .close ();
213197 }
Original file line number Diff line number Diff line change @@ -25,6 +25,4 @@ public class NettyRemoteSiteTest extends RemoteSiteTest {
2525 public AsyncHttpClient getAsyncHttpClient (AsyncHttpClientConfig config ) {
2626 return ProviderUtil .nettyProvider (config );
2727 }
28-
29-
3028}
You can’t perform that action at this time.
0 commit comments