Commit graph

10 commits

Author SHA1 Message Date
Emili Castells Guasch
db9852b535 Fix phpunit 2023-10-24 12:02:24 +02:00
Pedro Silva
bb3b8553b9
Refactor PurchaseUnitSanitizer to subtract 0.01 instead of rounding down
Refactor PurchaseUnitSanitizer to use singleton pattern
2023-08-09 11:48:49 +01:00
Pedro Silva
a43b93ffff
Add test cases for PurchaseUnitSanitizer 2023-08-07 18:09:25 +01:00
Pedro Silva
837bdb0392
Add PurchaseUnitSanitizer tests
Add subtotal mismatch admin options
2023-08-07 16:12:02 +01:00
Alex P
2ca64739db Use str value when checking mismatch
Otherwise the check may fail depending on the rounding used when creating the Money objects
2022-07-07 12:36:14 +03:00
Alex P
0e82a5f6c9 Fix rounding when checking total mismatch 2022-06-15 09:58:57 +03:00
Alex P
361d2365fc Update tests 2022-02-09 16:28:27 +02:00
David Remer
7445c91ed7 fix tests 2020-09-14 07:51:45 +03:00
David Remer
81637ebe6d fix tests 2020-09-01 09:47:36 +03:00
David Remer
f5bb4048cd add api client to main repository 2020-08-31 13:38:54 +03:00