Skip to content

Commit 51460b9

Browse files
author
Ace Nassri
authored
Travis: fix failing tests + update dependencies (#335)
* Make unify script recursive + clean up dependency conflicts * Restore travis.yml * Delete outdated text detection sample that duplicates detect.js * Fix failing KMS + vision tests by updating dependencies * Fix video tests using a bad cwd * Upgrade monitoring dependency + skip flaky monitoring tests * Fix DLP tests having wrong cwd * Fix failing vision test * Fix datastore tests * Update broken dependency * Update possibly broken compute engine dependency * Fix typos * Disable Node 4 testing * Revert deletion of outdated sample - @gguuss says we still use this. This reverts commit b7259c8. * Update dependency
1 parent 443610f commit 51460b9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vision/samples/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"dependencies": {
1111
"@google-cloud/storage": "0.7.0",
12-
"@google-cloud/vision": "0.9.0",
12+
"@google-cloud/vision": "^0.11.0",
1313
"async": "2.1.4",
1414
"natural": "0.4.0",
1515
"redis": "2.6.5",

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ test(`should detect similar web images in a remote file`, async (t) => {
159159
t.true(output.includes('URL: https://cloud.google.com/vision/docs/images/'));
160160
t.true(output.includes('Partial matches found: 5'));
161161
t.true(output.includes('Web entities found: 5'));
162-
t.true(output.includes('Description: Google Cloud Platform'));
162+
t.true(output.includes('Description: Google'));
163163
});
164164

165165
test(`should read a document from a local file`, async (t) => {

0 commit comments

Comments
 (0)