fix: commit before trying to delete user

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
Akhil Narang 2025-11-03 23:15:11 +05:30
parent edc4b4bbd5
commit 60e714e2e1
No known key found for this signature in database
GPG key ID: 9DCC61E211BF645F

View file

@ -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")