mirror of
https://github.com/shred/acme4j.git
synced 2025-12-13 11:14:02 +08:00
Use the java.net.http client
With this patch, the old HttpURLConnection client is replaced with the new java.net.http client that was introduced in Java 11.
This commit is contained in:
@@ -220,7 +220,7 @@ public class OrderIT extends PebbleITBase {
|
||||
Certificate cert2 = login2.bindCertificate(certificate.getLocation());
|
||||
cert2.download();
|
||||
}, "Could download revoked cert");
|
||||
assertThat(ex.getMessage()).isEqualTo("HTTP 404: Not Found");
|
||||
assertThat(ex.getMessage()).isEqualTo("HTTP 404");
|
||||
|
||||
// Try to revoke again
|
||||
var ex2 = assertThrows(AcmeServerException.class,
|
||||
|
||||
Reference in New Issue
Block a user