From 1cf69b3f888b719e26b74f431983842529bf0842 Mon Sep 17 00:00:00 2001 From: "Benjamin E. Coe" Date: Wed, 23 Oct 2019 12:29:17 -0700 Subject: [PATCH] fix(tests): use alternate video for integration tests (#311) --- video-intelligence/quickstart.js | 2 +- video-intelligence/system-test/quickstart.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/video-intelligence/quickstart.js b/video-intelligence/quickstart.js index 5adc54b73a..6b5ba4d0fd 100644 --- a/video-intelligence/quickstart.js +++ b/video-intelligence/quickstart.js @@ -23,7 +23,7 @@ async function main() { const client = new videoIntelligence.VideoIntelligenceServiceClient(); // The GCS uri of the video to analyze - const gcsUri = 'gs://nodejs-docs-samples-video/quickstart_short.mp4'; + const gcsUri = 'gs://cloud-samples-data/video/cat.mp4'; // Construct request const request = { diff --git a/video-intelligence/system-test/quickstart.test.js b/video-intelligence/system-test/quickstart.test.js index 12c7dc06d7..0e97ec29d7 100644 --- a/video-intelligence/system-test/quickstart.test.js +++ b/video-intelligence/system-test/quickstart.test.js @@ -27,6 +27,6 @@ const cwd = path.join(__dirname, '..'); describe('quickstart samples', () => { it('should analyze a hardcoded video', async () => { const stdout = execSync(cmd, {cwd}); - assert.match(stdout, /Label standing occurs at:/); + assert.match(stdout, /medium sized cats/); }); });