mirror of https://github.com/grpc/grpc-node.git
Fix missing arg variable in perRpcCreds interop test
This commit is contained in:
parent
108601ef1a
commit
4368ed37b8
|
@ -464,6 +464,10 @@ function oauth2Test(client, done, extra) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function perRpcAuthTest(client, done, extra) {
|
function perRpcAuthTest(client, done, extra) {
|
||||||
|
var arg = {
|
||||||
|
fill_username: true,
|
||||||
|
fill_oauth_scope: true
|
||||||
|
};
|
||||||
const creds = grpc.credentials.createFromGoogleCredential(new GoogleAuth({scopes: extra.oauth_scope}));
|
const creds = grpc.credentials.createFromGoogleCredential(new GoogleAuth({scopes: extra.oauth_scope}));
|
||||||
client.unaryCall(arg, {credentials: creds}, function(err, resp) {
|
client.unaryCall(arg, {credentials: creds}, function(err, resp) {
|
||||||
assert.ifError(err);
|
assert.ifError(err);
|
||||||
|
|
Loading…
Reference in New Issue