Permalink
Browse files

Fix test cases by removing unused redirect_uri from query.

  • Loading branch information...
1 parent 5387f47 commit b4f1cff3c7391122535e0837ffcc63bd1d2a4a79 @jaredhanson committed May 17, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/strategy.test.js
@@ -48,7 +48,7 @@ describe('Strategy', function() {
});
it('should be redirected', function() {
- expect(url).to.equal('https://www.facebook.com/dialog/oauth?display=mobile&response_type=code&redirect_uri=&client_id=ABC123');
+ expect(url).to.equal('https://www.facebook.com/dialog/oauth?display=mobile&response_type=code&client_id=ABC123');
});
});
@@ -73,7 +73,7 @@ describe('Strategy', function() {
});
it('should be redirected', function() {
- expect(url).to.equal('https://www.facebook.com/dialog/oauth?auth_type=reauthenticate&auth_nonce=foo123&response_type=code&redirect_uri=&client_id=ABC123');
+ expect(url).to.equal('https://www.facebook.com/dialog/oauth?auth_type=reauthenticate&auth_nonce=foo123&response_type=code&client_id=ABC123');
});
});

0 comments on commit b4f1cff

Please sign in to comment.