Skip to content

Commit 91d2a96

Browse files
committed
Fix wrong exception class in no-aws-creds test
1 parent 2de9e3d commit 91d2a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SpecTests/ClientSideEncryptionSpecTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1762,7 +1762,7 @@ public function testOnDemandAwsCredentials(bool $shouldSucceed): void
17621762
];
17631763

17641764
if (! $shouldSucceed) {
1765-
$this->expectException(AuthenticationException::class);
1765+
$this->expectException(EncryptionException::class);
17661766
}
17671767

17681768
$dataKeyId = $clientEncryption->createDataKey('aws', $dataKeyOpts);

0 commit comments

Comments
 (0)