Skip to content
Snippets Groups Projects
Commit c90b1099 authored by murgatroid99's avatar murgatroid99
Browse files

Change error message in credentials test

parent 5901d908
No related branches found
No related tags found
No related merge requests found
...@@ -71,7 +71,7 @@ var fakeSuccessfulGoogleCredentials = { ...@@ -71,7 +71,7 @@ var fakeSuccessfulGoogleCredentials = {
var fakeFailingGoogleCredentials = { var fakeFailingGoogleCredentials = {
getRequestMetadata: function(service_url, callback) { getRequestMetadata: function(service_url, callback) {
setTimeout(function() { setTimeout(function() {
callback(new Error('Authorization failure')); callback(new Error('Authentication failure'));
}, 0); }, 0);
} }
}; };
...@@ -246,7 +246,7 @@ describe('client credentials', function() { ...@@ -246,7 +246,7 @@ describe('client credentials', function() {
client_options); client_options);
client.unary({}, function(err, data) { client.unary({}, function(err, data) {
assert(err); assert(err);
assert.strictEqual(err.message, 'Authorization failure'); assert.strictEqual(err.message, 'Authentication failure');
done(); done();
}); });
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment