mirror of
https://github.com/shred/acme4j.git
synced 2025-12-13 11:14:02 +08:00
Fix Pebble IT after Pebble update
This commit is contained in:
@@ -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"
|
||||
+ "}");
|
||||
|
||||
Reference in New Issue
Block a user