mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Change error message in credentials test
This commit is contained in:
parent
0274189082
commit
fb56c19e4d
@ -71,7 +71,7 @@ var fakeSuccessfulGoogleCredentials = {
|
||||
var fakeFailingGoogleCredentials = {
|
||||
getRequestMetadata: function(service_url, callback) {
|
||||
setTimeout(function() {
|
||||
callback(new Error('Authorization failure'));
|
||||
callback(new Error('Authentication failure'));
|
||||
}, 0);
|
||||
}
|
||||
};
|
||||
@ -246,7 +246,7 @@ describe('client credentials', function() {
|
||||
client_options);
|
||||
client.unary({}, function(err, data) {
|
||||
assert(err);
|
||||
assert.strictEqual(err.message, 'Authorization failure');
|
||||
assert.strictEqual(err.message, 'Authentication failure');
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user