diff --git a/src/test/java/com/uid2/core/vertx/TestCoreVerticle.java b/src/test/java/com/uid2/core/vertx/TestCoreVerticle.java index df14a5d..dc271e9 100644 --- a/src/test/java/com/uid2/core/vertx/TestCoreVerticle.java +++ b/src/test/java/com/uid2/core/vertx/TestCoreVerticle.java @@ -776,9 +776,9 @@ void cloudEncryptionKeyRetrieveNoKeysOrError(Vertx vertx, VertxTestContext testC HttpResponse response2 = ar2.result(); assertEquals(500, response2.statusCode()); - JsonObject json2 = response2.bodyAsJsonObject(); - assertEquals("error", json2.getString("status")); - assertEquals("error generating attestation token", json2.getString("message")); + JsonObject json2 = response2.bodyAsJsonObject(); + assertEquals("error", json2.getString("status")); + assertEquals("error generating attestation token", json2.getString("message")); testContext.completeNow(); } else {