Skip to content

Commit

Permalink
Fix Facebook test case after API version change. Refs #480
Browse files Browse the repository at this point in the history
  • Loading branch information
omab committed Apr 8, 2015
1 parent d61012d commit 19dafb5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions social/tests/backends/test_facebook.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
import json

from social.p3 import urlencode
from social.exceptions import AuthUnknownError

from social.tests.backends.oauth import OAuth2Test


class FacebookOAuth2Test(OAuth2Test):
backend_path = 'social.backends.facebook.FacebookOAuth2'
user_data_url = 'https://graph.facebook.com/me'
user_data_url = 'https://graph.facebook.com/v2.3/me'
expected_username = 'foobar'
access_token_body = urlencode({
access_token_body = json.dumps({
'access_token': 'foobar',
'token_type': 'bearer'
})
Expand Down

0 comments on commit 19dafb5

Please sign in to comment.