mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Update booking breakdown test
Update line items in test to match those returned from the API.
This commit is contained in:
parent
07f4ad2b3c
commit
1fbe92f7e6
1 changed files with 4 additions and 4 deletions
|
|
@ -159,17 +159,17 @@ describe('BookingBreakdown', () => {
|
|||
{
|
||||
code: 'line-item/provider-commission',
|
||||
includeFor: ['provider'],
|
||||
quantity: new Decimal(1),
|
||||
percentage: new Decimal(-10),
|
||||
lineTotal: new Money(-200, 'USD'),
|
||||
unitPrice: new Money(-200, 'USD'),
|
||||
unitPrice: new Money(2000, 'USD'),
|
||||
reversal: false,
|
||||
},
|
||||
{
|
||||
code: 'line-item/provider-commission',
|
||||
includeFor: ['provider'],
|
||||
quantity: new Decimal(-1),
|
||||
percentage: new Decimal(10),
|
||||
lineTotal: new Money(200, 'USD'),
|
||||
unitPrice: new Money(-200, 'USD'),
|
||||
unitPrice: new Money(2000, 'USD'),
|
||||
reversal: true,
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue