Skip to content

Commit 38a9e38

Browse files
authored
samples: tests refactored (GoogleCloudPlatform#3958)
1 parent 721d14f commit 38a9e38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

video/beta/src/test/java/com/example/video/DetectFacesGcsIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ public void tearDown() {
4545
public void testDetectFacesGcs() throws Exception {
4646
DetectFacesGcs.detectFacesGcs("gs://cloud-samples-data/video/googlework_short.mp4");
4747
String got = bout.toString();
48-
assertThat(got).contains("Attribute");
48+
assertThat(got).contains("Face detected:");
4949
}
5050
}

video/beta/src/test/java/com/example/video/DetectFacesIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ public void tearDown() {
4646
public void testDetectFaces() throws Exception {
4747
DetectFaces.detectFaces("resources/googlework_short.mp4");
4848
String got = bout.toString();
49-
assertThat(got).contains("Attribute");
49+
assertThat(got).contains("Face detected:");
5050
}
5151
}

0 commit comments

Comments
 (0)