Skip to content

Commit

Permalink
fix(tests): use alternate video for integration tests (#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Oct 23, 2019
1 parent aeee285 commit 1cf69b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion video-intelligence/quickstart.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion video-intelligence/system-test/quickstart.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/);
});
});

0 comments on commit 1cf69b3

Please sign in to comment.