Skip to content

Commit 5cc8337

Browse files
authored
fix: Fix overperscriptive test for KmsException (#299)
1 parent 7fce0d2 commit 5cc8337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DynamoDbEncryption/runtimes/java/src/test/java/software/amazon/cryptography/dbencryptionsdk/dynamodb/enhancedclient/DynamoDbEncryptionEnhancedClientIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ private static DynamoDbEnhancedClient createEnhancedClientForLegacyClass(DynamoD
342342

343343
@Test(
344344
expectedExceptions = KmsException.class,
345-
expectedExceptionsMessageRegExp = "Service returned error code AccessDeniedException.*"
345+
expectedExceptionsMessageRegExp = ".*"
346346
)
347347
public void TestKmsError() {
348348
// Use an KMS Key that does not exist

0 commit comments

Comments
 (0)