Skip to content

Commit 8a92da7

Browse files
committed
fix: correct issues from rebase
1 parent 96fcd01 commit 8a92da7

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

test/unit/handlers/authorize-handler_test.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -50,25 +50,6 @@ describe('AuthorizeHandler', function() {
5050
});
5151
});
5252

53-
describe('generateAuthorizationCode()', function() {
54-
it('should call `model.generateAuthorizationCode()`', function() {
55-
var model = {
56-
generateAuthorizationCode: sinon.stub().returns({}),
57-
getAccessToken: function() {},
58-
getClient: function() {},
59-
saveAuthorizationCode: function() {}
60-
};
61-
var handler = new AuthorizeHandler({ authorizationCodeLifetime: 120, model: model });
62-
63-
return handler.generateAuthorizationCode()
64-
.then(function() {
65-
model.generateAuthorizationCode.callCount.should.equal(1);
66-
model.generateAuthorizationCode.firstCall.thisValue.should.equal(model);
67-
})
68-
.catch(should.fail);
69-
});
70-
});
71-
7253
describe('getClient()', function() {
7354
it('should call `model.getClient()`', function() {
7455
var model = {

0 commit comments

Comments
 (0)