Skip to content

Commit 059ab9a

Browse files
Update test_scheduled_jobs.py
1 parent 1651058 commit 059ab9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/all/integration/api/helpers/test_scheduled_jobs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ def test_event_invoices_mark_due(self):
1818
db.session.commit()
1919
event_invoice_id = event_invoice.id
2020
event_invoices_mark_due()
21-
status = EventInvoice.query.filter_by(id=event_invoice_id).first().status
21+
status = EventInvoice.query.get(event_invoice_id).status
2222
self.assertEqual(status, "due")

0 commit comments

Comments
 (0)