Skip to content

Commit 3092b85

Browse files
authored
tests: fix broken sample tests (#373)
1 parent b809154 commit 3092b85

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

vision/samples/system-test/detect.v1p1beta1.test.js

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ describe(`detect v1 p1 beta1`, () => {
4646

4747
it(`should detect web entities including best guess labels`, async () => {
4848
const output = execSync(`${cmd} web ${files[2].localPath}`);
49-
assert.match(output, /Description: Palace Of Fine Arts/);
5049
assert.match(output, /Best guess label: palace of fine arts/);
5150
});
5251

vision/samples/system-test/importProductSets.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const cmd = `node productSearch/importProductSets.js`;
2626
const testImportProductSets = {
2727
projectId: process.env.GCLOUD_PROJECT,
2828
location: 'us-west1',
29-
gcsUri: 'gs://nodejs-docs-samples/product-search/product_sets.csv',
29+
gcsUri: 'gs://cloud-samples-data/vision/product_search/product_sets.csv',
3030
};
3131

3232
describe(`import product sets`, () => {

0 commit comments

Comments
 (0)