fix(minor): postgres compatibility

This commit is contained in:
Rushabh Mehta 2019-09-26 15:59:32 +05:30
parent 74e2e05162
commit 2415eac770

View file

@ -25,7 +25,7 @@ class TestScheduler(TestCase):
sync_jobs()
def test_enqueue_jobs(self):
frappe.db.sql('update `tabScheduled Job Type` set last_execution = "2010-01-01 00:00:00"')
frappe.db.sql("update `tabScheduled Job Type` set last_execution = '2010-01-01 00:00:00'")
frappe.flags.execute_job = True
enqueue_events(site = frappe.local.site)