From 3abf56e325738799145c73d1da3efb70823bfc37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20K=C3=B6rber?= Date: Sat, 12 Jan 2019 15:28:10 +0100 Subject: [PATCH] Directory does not provide a nonce any more --- .../org/shredzone/acme4j/it/pebble/SessionIT.java | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/acme4j-it/src/test/java/org/shredzone/acme4j/it/pebble/SessionIT.java b/acme4j-it/src/test/java/org/shredzone/acme4j/it/pebble/SessionIT.java index c5f1096b..705d41c2 100644 --- a/acme4j-it/src/test/java/org/shredzone/acme4j/it/pebble/SessionIT.java +++ b/acme4j-it/src/test/java/org/shredzone/acme4j/it/pebble/SessionIT.java @@ -30,21 +30,6 @@ import org.shredzone.acme4j.exception.AcmeException; */ public class SessionIT extends PebbleITBase { - @Test - public void testNonce() throws AcmeException { - Session session = new Session(pebbleURI()); - - // No nonce yet on a fresh session - assertThat(session.getNonce(), is(nullValue())); - - // Request directory, also providing a nonce - session.getMetadata(); - - // A nonce must be set now - assertThat(session.getNonce(), not(nullValue())); - assertThat(session.provider(), not(nullValue())); - } - @Test public void testResources() throws AcmeException { Session session = new Session(pebbleURI());