[Fix] TestFrappeOAuth2Client
This commit is contained in:
parent
e8fc75b46b
commit
b4d1ad2d9a
1 changed files with 1 additions and 1 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue