From 47c83f292840b12caf6685e3e35a39d30e7b160a Mon Sep 17 00:00:00 2001 From: Dane Zeke Liergaard Date: Mon, 4 Jun 2018 14:00:39 -0700 Subject: [PATCH] Update vision dependency version and fix test. (#1099) --- vision/beta/cloud-client/pom.xml | 6 +++--- .../src/test/java/com/example/vision/DetectIT.java | 4 ++-- vision/cloud-client/pom.xml | 4 ++-- .../src/test/java/com/example/vision/DetectIT.java | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/vision/beta/cloud-client/pom.xml b/vision/beta/cloud-client/pom.xml index 722b055c34f..ff7b1ba6576 100644 --- a/vision/beta/cloud-client/pom.xml +++ b/vision/beta/cloud-client/pom.xml @@ -40,12 +40,12 @@ com.google.cloud google-cloud-vision - 1.24.1 + 1.29.0 com.google.cloud google-cloud-storage - 1.24.1 + 1.29.0 @@ -60,7 +60,7 @@ com.google.truth truth - 0.39 + 0.40 test diff --git a/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java b/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java index cab7a9e3aef..1f0b719887a 100644 --- a/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java +++ b/vision/beta/cloud-client/src/test/java/com/example/vision/DetectIT.java @@ -244,7 +244,7 @@ public void detectWebAnnotations() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Landmark"); + assertThat(got).contains("History"); assertThat(got).contains("Best guess label: palace of fine arts"); } @@ -256,7 +256,7 @@ public void detectWebAnnotationsGcs() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Landmark"); + assertThat(got).contains("History"); assertThat(got).contains("Best guess label: palace of fine arts"); } diff --git a/vision/cloud-client/pom.xml b/vision/cloud-client/pom.xml index 64bf29988df..b24c66636ae 100644 --- a/vision/cloud-client/pom.xml +++ b/vision/cloud-client/pom.xml @@ -40,7 +40,7 @@ com.google.cloud google-cloud-vision - 1.22.0 + 1.29.0 @@ -55,7 +55,7 @@ com.google.truth truth - 0.39 + 0.40 test diff --git a/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java b/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java index ef2a90a3515..87935c06ae1 100644 --- a/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java +++ b/vision/cloud-client/src/test/java/com/example/vision/DetectIT.java @@ -236,7 +236,7 @@ public void detectWebAnnotations() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Landmark"); + assertThat(got).contains("History"); assertThat(got).contains("Best guess label: palace of fine arts"); } @@ -248,7 +248,7 @@ public void detectWebAnnotationsGcs() throws Exception { // Assert String got = bout.toString(); - assertThat(got).contains("Landmark"); + assertThat(got).contains("History"); assertThat(got).contains("Best guess label: palace of fine arts"); }