Skip to content

Commit 5acbd63

Browse files
- Fixing broken test
1 parent 1d9c92a commit 5acbd63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/mastercard/developer/encryption/JweConfigBuilderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void testBuild_ShouldFallbackToDefaults() throws Exception {
116116
@Test
117117
public void testBuild_ShouldThrowIllegalArgumentException_WhenMissingDecryptionKey() throws Exception {
118118
expectedException.expect(IllegalArgumentException.class);
119-
expectedException.expectMessage("You must include at least an encryption certificate or a decryption key");
119+
expectedException.expectMessage("You must include at least an encryption key/certificate or a decryption key");
120120
JweConfigBuilder.aJweEncryptionConfig()
121121
.build();
122122
}

0 commit comments

Comments
 (0)