From f6a3bd618b04c66d577355b734d665aa0da1704a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Richard=20K=C3=B6rber?= Date: Sun, 26 Jan 2025 11:42:48 +0100 Subject: [PATCH] Fix Pebble IT after Pebble update --- .../java/org/shredzone/acme4j/it/pebble/SessionIT.java | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 34587d1e..4d609e5f 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 @@ -48,7 +48,17 @@ public class SessionIT extends PebbleITBase { .isEqualTo(URI.create("data:text/plain,Do%20what%20thou%20wilt")); assertThat(meta.getWebsite()).isEmpty(); assertThat(meta.getCaaIdentities()).isEmpty(); + assertThat(meta.isExternalAccountRequired()).isFalse(); + assertThat(meta.getProfiles()).contains("default", "shortlived"); + assertThat(meta.getProfileDescription("default")).contains("The profile you know and love"); + assertThat(meta.getProfileDescription("shortlived")).contains("A short-lived cert profile, without actual enforcement"); + assertThat(meta.getProfileDescription("paid")).isEmpty(); assertThatJson(meta.getJSON().toString()).isEqualTo("{" + + "'externalAccountRequired': false," + + "'profiles': {" + + "'default': 'The profile you know and love'," + + "'shortlived': 'A short-lived cert profile, without actual enforcement'" + + "}," + "'termsOfService': 'data:text/plain,Do%20what%20thou%20wilt'," + "'externalAccountRequired': false" + "}");