Skip to content

Commit 19a1fd5

Browse files
author
Stephane Landelle
committed
Remove old invalid test, fix previous commit
1 parent 87d64d2 commit 19a1fd5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

api/src/test/java/org/asynchttpclient/async/AsyncProvidersBasicTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,16 +1550,6 @@ public void getShouldAllowBody() throws IllegalArgumentException, IOException {
15501550
}
15511551
}
15521552

1553-
@Test(groups = { "standalone", "default_provider" }, expectedExceptions = IllegalArgumentException.class)
1554-
public void headShouldNotAllowBody() throws IllegalArgumentException, IOException {
1555-
AsyncHttpClient client = getAsyncHttpClient(null);
1556-
try {
1557-
client.prepareHead(getTargetUrl()).setBody("Boo!").execute();
1558-
} finally {
1559-
client.close();
1560-
}
1561-
}
1562-
15631553
@Test(groups = { "standalone", "default_provider" }, expectedExceptions = { IllegalArgumentException.class })
15641554
public void invalidUri() throws Exception {
15651555
AsyncHttpClient client = getAsyncHttpClient(null);

0 commit comments

Comments
 (0)