Skip to content
This repository was archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Fix order of process_takes and process_remainder
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitpaulk committed Aug 31, 2016
1 parent ee5bd7a commit 84f4b31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/py/test_billing_payday.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,8 +432,8 @@ def test_process_remainder(self):
with self.db.get_cursor() as cursor:
payday.prepare(cursor)
payday.process_payment_instructions(cursor)
payday.process_remainder(cursor)
payday.process_takes(cursor, payday.ts_start)
payday.process_remainder(cursor)
assert cursor.one("select new_balance from payday_participants "
"where username='picard'") == D('0.51')
assert cursor.one("select balance from payday_teams where slug='TheEnterprise'") == 0
Expand Down

0 comments on commit 84f4b31

Please sign in to comment.