Skip to content

Commit f6a3bd6

Browse files
committed
Fix Pebble IT after Pebble update
1 parent 0364ace commit f6a3bd6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

acme4j-it/src/test/java/org/shredzone/acme4j/it/pebble/SessionIT.java

+10
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,17 @@ public void testMetadata() throws AcmeException {
4848
.isEqualTo(URI.create("data:text/plain,Do%20what%20thou%20wilt"));
4949
assertThat(meta.getWebsite()).isEmpty();
5050
assertThat(meta.getCaaIdentities()).isEmpty();
51+
assertThat(meta.isExternalAccountRequired()).isFalse();
52+
assertThat(meta.getProfiles()).contains("default", "shortlived");
53+
assertThat(meta.getProfileDescription("default")).contains("The profile you know and love");
54+
assertThat(meta.getProfileDescription("shortlived")).contains("A short-lived cert profile, without actual enforcement");
55+
assertThat(meta.getProfileDescription("paid")).isEmpty();
5156
assertThatJson(meta.getJSON().toString()).isEqualTo("{"
57+
+ "'externalAccountRequired': false,"
58+
+ "'profiles': {"
59+
+ "'default': 'The profile you know and love',"
60+
+ "'shortlived': 'A short-lived cert profile, without actual enforcement'"
61+
+ "},"
5262
+ "'termsOfService': 'data:text/plain,Do%20what%20thou%20wilt',"
5363
+ "'externalAccountRequired': false"
5464
+ "}");

0 commit comments

Comments
 (0)