-
-
Notifications
You must be signed in to change notification settings - Fork 729
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update order payment_total when voiding a payment
As is, `payment_total` is only increased after successfully processing a payment and never updated. This inconsistency breaks `CustomerWithBalance` which relies on it. Needless to say that if we keep this denormalized column, we have it fixed. I took the chance to rearrange tests a bit.
- Loading branch information
1 parent
09f7fb2
commit 80ab1ca
Showing
3 changed files
with
86 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters