fix(minor): postgres compatibility
This commit is contained in:
parent
74e2e05162
commit
2415eac770
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue