Skip to content

Commit aeb6891

Browse files
committed
Use Cloud Storage bucket for web URI test
1 parent 40e8bac commit aeb6891

File tree

1 file changed

+3
-1
lines changed
  • vision/cloud-client/src/test/java/com/example/vision

1 file changed

+3
-1
lines changed

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

+3-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,9 @@ public void testLandmarksGcs() throws Exception {
124124
@Test
125125
public void testLandmarksUrl() throws Exception {
126126
// Act
127-
String[] args = {"landmarks", "http://wheresgus.com/landmark.jpg"};
127+
String URI = "https://storage-download.googleapis.com/" +
128+
BUCKET + "/vision/landmark.jpg";
129+
String[] args = {"landmarks", URI};
128130
Detect.argsHelper(args, out);
129131

130132
// Assert

0 commit comments

Comments
 (0)