Skip to content

Commit

Permalink
vision: tests: fix system tests with upstream responses (#2472)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus authored and callmehiphop committed Jul 20, 2017
1 parent 804db37 commit 42f8e94
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/google-cloud-vision/system-test/vision.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
]
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 42f8e94

Please sign in to comment.