Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vision: tests: fix system tests with upstream responses #2472

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions packages/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