From b38e67851ab22cb43b8cab323c7191422534ecc9 Mon Sep 17 00:00:00 2001 From: Minh Nguyen Cong Date: Fri, 11 Oct 2024 11:00:38 +0200 Subject: [PATCH] Update code --- src/test/java/com/box/sdk/BoxAITest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/box/sdk/BoxAITest.java b/src/test/java/com/box/sdk/BoxAITest.java index 7607f9088..0217c83ea 100644 --- a/src/test/java/com/box/sdk/BoxAITest.java +++ b/src/test/java/com/box/sdk/BoxAITest.java @@ -360,7 +360,7 @@ public void testExtractMetadataStructuredSuccess() { agent ); - assertThat(response, equalTo(Json.parse(result).asObject())); + assertThat(response.getSourceJson(), equalTo(Json.parse(result).asObject())); assertThat(response.getSourceJson().get("firstName").asString(), equalTo("John")); } }