Skip to content

Commit d912e01

Browse files
author
Stephane Landelle
committed
Remove old invalid test, fix previous commit
1 parent 6ce19bb commit d912e01

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/test/java/com/ning/http/client/async/AsyncProvidersBasicTest.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,18 +1650,6 @@ public void onThrowable(Throwable t) {
16501650
}
16511651
}
16521652

1653-
@Test(groups = { "standalone", "default_provider" }, expectedExceptions = IllegalArgumentException.class)
1654-
public void headShouldNotAllowBody() throws IllegalArgumentException, IOException {
1655-
AsyncHttpClient client = getAsyncHttpClient(null);
1656-
try {
1657-
AsyncHttpClient.BoundRequestBuilder builder = client.prepareHead(getTargetUrl());
1658-
builder.setBody("Boo!");
1659-
builder.execute();
1660-
} finally {
1661-
client.close();
1662-
}
1663-
}
1664-
16651653
protected String getBrokenTargetUrl() {
16661654
return String.format("http:127.0.0.1:%d/foo/test", port1);
16671655
}

0 commit comments

Comments
 (0)