[Fix] TestFrappeOAuth2Client

This commit is contained in:
Revant Nandgaonkar 2017-09-06 18:34:07 +05:30
parent e8fc75b46b
commit b4d1ad2d9a

View file

@ -64,7 +64,7 @@ class TestFrappeOAuth2Client(unittest.TestCase):
# Parse bearer token json
bearer_token = token_response.json()
client = FrappeClient(frappe.get_site_config().host_name, bearer_token.get("access_token"))
client = FrappeOAuth2Client(frappe.get_site_config().host_name, bearer_token.get("access_token"))
notes = [
{"doctype": "Note", "title": "Sing", "public": True},