diff --git a/src/integration/java/com/nike/cerberus/client/auth/aws/CerberusClientTest.java b/src/integration/java/com/nike/cerberus/client/auth/aws/CerberusClientTest.java index 7607ec4..95f6879 100644 --- a/src/integration/java/com/nike/cerberus/client/auth/aws/CerberusClientTest.java +++ b/src/integration/java/com/nike/cerberus/client/auth/aws/CerberusClientTest.java @@ -116,7 +116,7 @@ public void test_secret_is_deleted_after_auth() { // confirm secret is deleted try { cerberusClient.read(sdbFullSecretPath); - } catch (CerberusServerException cse) { + } catch (CerberusServerApiException cse) { assertEquals(404, cse.getCode()); } }