From a6333e15ee333d3d206599743018801da97e8d37 Mon Sep 17 00:00:00 2001 From: nnegrey Date: Tue, 3 Apr 2018 10:26:21 -0700 Subject: [PATCH] Fix tests due to backend changes --- .../src/test/java/com/example/vision/DetectIT.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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