mirror of https://github.com/shred/acme4j
Fix Pebble IT after Pebble update
parent
0364acead3
commit
f6a3bd618b
|
@ -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"
|
||||
+ "}");
|
||||
|
|
Loading…
Reference in New Issue