Skip to content

Commit f13af9b

Browse files
authored
Fix tests due to backend changes (#1081)
1 parent 783414f commit f13af9b

File tree

1 file changed

+4
-4
lines changed
  • vision/beta/cloud-client/src/test/java/com/example/vision

1 file changed

+4
-4
lines changed

vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public void detectWebAnnotations() throws Exception {
238238

239239
// Assert
240240
String got = bout.toString();
241-
assertThat(got).contains("Palace of Fine Arts Theatre");
241+
assertThat(got).contains("Landmark");
242242
assertThat(got).contains("Best guess label: palace of fine arts");
243243
}
244244

@@ -250,7 +250,7 @@ public void detectWebAnnotationsGcs() throws Exception {
250250

251251
// Assert
252252
String got = bout.toString();
253-
assertThat(got).contains("Palace of Fine Arts Theatre");
253+
assertThat(got).contains("Landmark");
254254
assertThat(got).contains("Best guess label: palace of fine arts");
255255
}
256256

@@ -272,7 +272,7 @@ public void testDetectWebEntitiesGcs() throws Exception {
272272
Detect.argsHelper(args, out);
273273

274274
String got = bout.toString();
275-
assertThat(got).contains("Description: Palace of Fine Arts Theatre");
275+
assertThat(got).contains("Description:");
276276
}
277277

278278
@Test
@@ -294,7 +294,7 @@ public void testDetectWebEntitiesIncludeGeoResultsGcs() throws Exception {
294294
Detect.argsHelper(args, out);
295295

296296
String got = bout.toString();
297-
assertThat(got).contains("Description: Palace of Fine Arts Theatre");
297+
assertThat(got).contains("Description:");
298298
}
299299

300300
@Test

0 commit comments

Comments
 (0)