diff --git a/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java b/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java index 0931fe32a9d6..2fc09ae028bd 100644 --- a/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java +++ b/java-vision/google-cloud-vision/src/test/java/com/google/cloud/vision/it/ITSystemTest.java @@ -295,18 +295,6 @@ public void detectFacesTest() throws IOException { } } - @Test - public void detectFacesGcsTest() throws IOException { - AnnotateImageResponse res = - requestAnnotatedImage("face/face_no_surprise.jpg", Type.FACE_DETECTION, true); - for (FaceAnnotation annotation : assertNotEmpty(res, res.getFaceAnnotationsList())) { - assertThat(annotation.getAngerLikelihood()).isAnyOf(Likelihood.LIKELY, Likelihood.POSSIBLE); - assertEquals(Likelihood.VERY_UNLIKELY, annotation.getJoyLikelihood()); - assertThat(annotation.getSurpriseLikelihood()) - .isAnyOf(Likelihood.LIKELY, Likelihood.POSSIBLE); - } - } - @Test public void detectLabelsTest() throws IOException { AnnotateImageResponse res = requestAnnotatedImage("wakeupcat.jpg", Type.LABEL_DETECTION, false);