Skip to content

Commit 5b7db1c

Browse files
jerjoudpebot
authored andcommitted
Update expected error message. (#396)
1 parent 08dce86 commit 5b7db1c

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
@@ -69,7 +69,7 @@ public class DetectLandmarkIT {
6969
appUnderTest.identifyLandmark(PRIVATE_LANDMARK_URI, MAX_RESULTS);
7070
fail("Expected IOException");
7171
} catch (IOException expected) {
72-
assertThat(expected.getMessage()).named("IOException message").contains("ACCESS_DENIED");
72+
assertThat(expected.getMessage()).named("IOException message").contains("permission");
7373
}
7474
}
7575
}

0 commit comments

Comments
 (0)