Skip to content

Commit

Permalink
Fix the exception type in JwtVendorTests
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Liang <jiallian@amazon.com>
  • Loading branch information
RyanL1997 committed Aug 22, 2023
1 parent 6f49801 commit b315559
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public void testCreateJwtWithBadEncryptionKey() {
throw new RuntimeException(e);
}
});
Assert.assertEquals("java.lang.RuntimeException: encryption_key cannot be null", exception.getMessage());
Assert.assertEquals("java.lang.IllegalArgumentException: encryption_key cannot be null", exception.getMessage());
}

@Test
Expand Down

0 comments on commit b315559

Please sign in to comment.