Skip to content

Commit

Permalink
Fix tests for backend changes (#1082)
Browse files Browse the repository at this point in the history
  • Loading branch information
nnegrey committed Apr 3, 2018
1 parent f13af9b commit c4262fc
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 c4262fc

Please sign in to comment.