Fix Pebble IT after Pebble update

master
Richard Körber 2025-01-26 11:42:48 +01:00
parent 0364acead3
commit f6a3bd618b
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
1 changed files with 10 additions and 0 deletions

View File

@ -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"
+ "}");