From 26b05bdba0c77455beee0ba9f6cc06fbd5b326c7 Mon Sep 17 00:00:00 2001 From: Artur Jankowski Date: Tue, 26 Nov 2024 21:21:39 +0100 Subject: [PATCH] test: Fix for `extractMetadataStructured` test (#1278) --- src/intTest/java/com/box/sdk/BoxAIIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intTest/java/com/box/sdk/BoxAIIT.java b/src/intTest/java/com/box/sdk/BoxAIIT.java index 9f60f563d..b292b0306 100644 --- a/src/intTest/java/com/box/sdk/BoxAIIT.java +++ b/src/intTest/java/com/box/sdk/BoxAIIT.java @@ -317,7 +317,7 @@ public void aiExtractStructuredWithMetadataTemplate() throws InterruptedExceptio JsonObject sourceJson = response.getSourceJson(); assertThat(sourceJson.get("firstName").asString(), is(equalTo("John"))); assertThat(sourceJson.get("lastName").asString(), is(equalTo("Doe"))); - assertThat(sourceJson.get("dateOfBirth").asString(), is(equalTo("1990-07-04"))); + assertThat(sourceJson.get("dateOfBirth").asString(), is(equalTo("1990-07-04T00:00:00Z"))); assertThat(sourceJson.get("age").asInt(), is(equalTo(34))); assertThat(sourceJson.get("hobby").asArray().get(0).asString(), is(equalTo("guitar"))); assertThat(sourceJson.get("hobby").asArray().get(1).asString(), is(equalTo("books")));