diff --git a/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java b/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java index cff7d5f2ea6..4ec885e99b9 100644 --- a/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java +++ b/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java @@ -244,8 +244,8 @@ public void detectWebAnnotations() throws Exception { // Assert String got = bout.toString().toLowerCase(); - assertThat(got).contains("history"); - assertThat(got).contains("best guess label: palace of fine arts"); + assertThat(got).contains("entity:id:score"); + assertThat(got).contains("best guess label"); } @Test @@ -256,8 +256,8 @@ public void detectWebAnnotationsGcs() throws Exception { // Assert String got = bout.toString().toLowerCase(); - assertThat(got).contains("history"); - assertThat(got).contains("best guess label: palace of fine arts"); + assertThat(got).contains("entity:id:score"); + assertThat(got).contains("best guess label"); } @Test