diff --git a/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java b/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java index b79a7471202..72f52d848ae 100644 --- a/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java +++ b/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java @@ -238,7 +238,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"); } @@ -250,7 +250,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"); } @@ -272,7 +272,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 @@ -294,7 +294,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