Skip to content

Commit

Permalink
Text fix 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenplusplus committed Nov 1, 2017
1 parent 9d1bbce commit 71d24a8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/common/test/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,14 +799,14 @@ describe('common/util', function() {

utilOverrides.decorateRequest = function(reqOpts, projectId) {
assert.strictEqual(projectId, authClient.projectId);
done();
setImmediate(done);
};

var makeAuthenticatedRequest = util.makeAuthenticatedRequestFactory({
customEndpoint: true
});

makeAuthenticatedRequest({
makeAuthenticatedRequest({}, {
onAuthenticated: assert.ifError
});
});
Expand All @@ -821,14 +821,14 @@ describe('common/util', function() {

utilOverrides.decorateRequest = function(reqOpts, projectId) {
assert.strictEqual(projectId, config.projectId);
done();
setImmediate(done);
};

var makeAuthenticatedRequest = util.makeAuthenticatedRequestFactory(
config
);

makeAuthenticatedRequest({
makeAuthenticatedRequest({}, {
onAuthenticated: assert.ifError
});
});
Expand Down

0 comments on commit 71d24a8

Please sign in to comment.