fix: commit before trying to delete user
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
edc4b4bbd5
commit
60e714e2e1
1 changed files with 2 additions and 0 deletions
|
|
@ -144,6 +144,8 @@ class TestConnectedApp(IntegrationTestCase):
|
|||
doc = frappe.get_doc("OAuth Authorization Code", code.name)
|
||||
doc.delete()
|
||||
|
||||
frappe.db.commit()
|
||||
|
||||
delete_if_exists("user")
|
||||
delete_if_exists("oauth_client")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue