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 d85d0d2d935..ef2a90a3515 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 @@ -236,7 +236,7 @@ public void detectWebAnnotations() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Palace of Fine Arts Theatre"); + assertThat(got).contains("Landmark"); assertThat(got).contains("Best guess label: palace of fine arts"); } @@ -248,7 +248,7 @@ public void detectWebAnnotationsGcs() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Palace of Fine Arts Theatre"); + assertThat(got).contains("Landmark"); assertThat(got).contains("Best guess label: palace of fine arts"); } @@ -270,7 +270,7 @@ public void testDetectWebEntitiesGcs() throws Exception { Detect.argsHelper(args, out); String got = bout.toString(); - assertThat(got).contains("Description: Palace of Fine Arts Theatre"); + assertThat(got).contains("Description"); } @Test @@ -292,7 +292,7 @@ public void testDetectWebEntitiesIncludeGeoResultsGcs() throws Exception { Detect.argsHelper(args, out); String got = bout.toString(); - assertThat(got).contains("Description: Palace of Fine Arts Theatre"); + assertThat(got).contains("Description"); } @Test