Skip to content

Commit e4f78ed

Browse files
tswastdpebot
authored andcommitted
Fix vision integration test to match latest error messages. (GoogleCloudPlatform#404)
1 parent 4e0d47c commit e4f78ed

File tree

1 file changed

+1
-1
lines changed
  • vision/landmark-detection/src/test/java/com/google/cloud/vision/samples/landmarkdetection

1 file changed

+1
-1
lines changed

vision/landmark-detection/src/test/java/com/google/cloud/vision/samples/landmarkdetection/DetectLandmarkIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public class DetectLandmarkIT {
6060
appUnderTest.identifyLandmark(LANDMARK_URI + "/nonexistent.jpg", MAX_RESULTS);
6161
fail("Expected IOException");
6262
} catch (IOException expected) {
63-
assertThat(expected.getMessage()).named("IOException message").contains("OBJECT_NOT_FOUND");
63+
assertThat(expected.getMessage()).named("IOException message").contains("file");
6464
}
6565
}
6666

0 commit comments

Comments
 (0)