Commit f6a3bd6 1 parent 0364ace commit f6a3bd6 Copy full SHA for f6a3bd6
File tree 1 file changed +10
-0
lines changed
acme4j-it/src/test/java/org/shredzone/acme4j/it/pebble
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,17 @@ public void testMetadata() throws AcmeException {
48
48
.isEqualTo (URI .create ("data:text/plain,Do%20what%20thou%20wilt" ));
49
49
assertThat (meta .getWebsite ()).isEmpty ();
50
50
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 ();
51
56
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
+ + "},"
52
62
+ "'termsOfService': 'data:text/plain,Do%20what%20thou%20wilt',"
53
63
+ "'externalAccountRequired': false"
54
64
+ "}" );
You can’t perform that action at this time.
0 commit comments