We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 655dba3 commit bf6985fCopy full SHA for bf6985f
test/test.js
@@ -772,16 +772,14 @@ describe('Utilities', function() {
772
});
773
774
describe('#setTokenMethod()', function() {
775
- var decodeJwt_ = OAuth2.decodeJwt_;
776
-
777
it('should defautl to POST', function(done) {
778
mocks.UrlFetchApp.resultFunction = function(url, urlOptions) {
779
assert.equal(urlOptions.method, 'post');
780
done();
781
};
782
var service = OAuth2.createService('test')
783
.setGrantType('client_credentials')
784
- .setTokenUrl('http://www.example.com/')
+ .setTokenUrl('http://www.example.com/');
785
service.exchangeGrant_();
786
787
0 commit comments