From 5e9790c28016088090497d97840ee3d7c5bcab3a Mon Sep 17 00:00:00 2001 From: Artur Jankowski Date: Tue, 26 Nov 2024 16:55:44 +0100 Subject: [PATCH] test: Fix for `extractMetadataStructured` test` --- 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")));