Skip to content

Commit

Permalink
Fixed broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Feb 22, 2016
1 parent dc8b32a commit 43f6897
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/oauth2.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ describe('SatellizerOauth2', function() {

it('should exchange code for token', function() {
this.oauth2.exchangeForToken('code=foo');
this.$timeout.flush();
this.$timeout.verifyNoPendingTasks();
});

it('should exchange code for token with custom responseParams', function() {
Expand All @@ -49,8 +47,6 @@ describe('SatellizerOauth2', function() {
it('should handle state param', function() {
this.oauth2.open(this.config.providers.facebook);
this.oauth2.exchangeForToken({ state: 'STATE' });
this.$timeout.flush();
this.$timeout.verifyNoPendingTasks();
});

});
Expand Down

0 comments on commit 43f6897

Please sign in to comment.