Skip to content

Commit

Permalink
samples: Fix tests for backend changes (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey authored and chingor13 committed Aug 13, 2020
1 parent 33e8784 commit c22d639
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand All @@ -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");
}

Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c22d639

Please sign in to comment.