Skip to content

Commit 47c83f2

Browse files
authored
Update vision dependency version and fix test. (#1099)
1 parent 70c1984 commit 47c83f2

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

vision/beta/cloud-client/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
<dependency>
4141
<groupId>com.google.cloud</groupId>
4242
<artifactId>google-cloud-vision</artifactId>
43-
<version>1.24.1</version>
43+
<version>1.29.0</version>
4444
</dependency>
4545
<dependency>
4646
<groupId>com.google.cloud</groupId>
4747
<artifactId>google-cloud-storage</artifactId>
48-
<version>1.24.1</version>
48+
<version>1.29.0</version>
4949
</dependency>
5050
<!-- [END dependencies] -->
5151

@@ -60,7 +60,7 @@
6060
<dependency>
6161
<groupId>com.google.truth</groupId>
6262
<artifactId>truth</artifactId>
63-
<version>0.39</version>
63+
<version>0.40</version>
6464
<scope>test</scope>
6565
</dependency>
6666
</dependencies>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public void detectWebAnnotations() throws Exception {
244244

245245
// Assert
246246
String got = bout.toString();
247-
assertThat(got).contains("Landmark");
247+
assertThat(got).contains("History");
248248
assertThat(got).contains("Best guess label: palace of fine arts");
249249
}
250250

@@ -256,7 +256,7 @@ public void detectWebAnnotationsGcs() throws Exception {
256256

257257
// Assert
258258
String got = bout.toString();
259-
assertThat(got).contains("Landmark");
259+
assertThat(got).contains("History");
260260
assertThat(got).contains("Best guess label: palace of fine arts");
261261
}
262262

vision/cloud-client/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<dependency>
4141
<groupId>com.google.cloud</groupId>
4242
<artifactId>google-cloud-vision</artifactId>
43-
<version>1.22.0</version>
43+
<version>1.29.0</version>
4444
</dependency>
4545
<!-- [END dependencies] -->
4646

@@ -55,7 +55,7 @@
5555
<dependency>
5656
<groupId>com.google.truth</groupId>
5757
<artifactId>truth</artifactId>
58-
<version>0.39</version>
58+
<version>0.40</version>
5959
<scope>test</scope>
6060
</dependency>
6161
</dependencies>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void detectWebAnnotations() throws Exception {
236236

237237
// Assert
238238
String got = bout.toString();
239-
assertThat(got).contains("Landmark");
239+
assertThat(got).contains("History");
240240
assertThat(got).contains("Best guess label: palace of fine arts");
241241
}
242242

@@ -248,7 +248,7 @@ public void detectWebAnnotationsGcs() throws Exception {
248248

249249
// Assert
250250
String got = bout.toString();
251-
assertThat(got).contains("Landmark");
251+
assertThat(got).contains("History");
252252
assertThat(got).contains("Best guess label: palace of fine arts");
253253
}
254254

0 commit comments

Comments
 (0)