mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +00:00
test: Remove deprecated as_tuple kwarg in FrappeTestAPI.post
This commit is contained in:
@@ -59,7 +59,6 @@ class TestExotel(FrappeAPITestCase):
|
|||||||
f"/api/method/erpnext.erpnext_integrations.exotel_integration.{api_method}",
|
f"/api/method/erpnext.erpnext_integrations.exotel_integration.{api_method}",
|
||||||
data=frappe.as_json(data),
|
data=frappe.as_json(data),
|
||||||
content_type="application/json",
|
content_type="application/json",
|
||||||
as_tuple=True,
|
|
||||||
)
|
)
|
||||||
# restart db connection to get latest data
|
# restart db connection to get latest data
|
||||||
frappe.connect()
|
frappe.connect()
|
||||||
|
|||||||
Reference in New Issue
Block a user