Skip to content

Commit

Permalink
test: Fix for extractMetadataStructured test (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
arjankowski committed Nov 27, 2024
1 parent fc1a3e3 commit 26b05bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/intTest/java/com/box/sdk/BoxAIIT.java
Original file line number Diff line number Diff line change
Expand Up @@ -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")));
Expand Down

0 comments on commit 26b05bd

Please sign in to comment.