From 42f8e94e2f554f3cdd87e613cccea5cf8d7f1a45 Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Thu, 20 Jul 2017 12:28:30 -0400 Subject: [PATCH] vision: tests: fix system tests with upstream responses (#2472) --- packages/google-cloud-vision/system-test/vision.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/packages/google-cloud-vision/system-test/vision.js b/packages/google-cloud-vision/system-test/vision.js index 515f7dec4dc..3c14dfcda85 100644 --- a/packages/google-cloud-vision/system-test/vision.js +++ b/packages/google-cloud-vision/system-test/vision.js @@ -205,19 +205,17 @@ describe('Vision', function() { errors: [ { code: 400, - message: - 'image-annotator::Bad image data.: Image processing error!', + message: 'Bad image data.', type: 'faces' }, { code: 400, - message: - 'image-annotator::Bad image data.: Image processing error!', + message: 'Bad image data.', type: 'labels' }, { - code: 500, - message: 'image-annotator::error(12): Image processing error!', + code: 400, + message: 'Bad image data.', type: 'safeSearch' } ] @@ -579,7 +577,7 @@ describe('Vision', function() { describe('text', function() { var expectedResults = [ normalizeNewline(multiline.stripIndent(function() {/* - Google Cloud Client Library for Node js an idiomatic, intuitive, and + Google Cloud Client Library for Node.js - an idiomatic, intuitive, and natural way for Node.js developers to integrate with Google Cloud Platform services, like Cloud Datastore and Cloud Storage.