Skip to content

Commit

Permalink
Add not neutral tax adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
mpysiak committed Jun 27, 2024
1 parent a417b8f commit b87723a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/DataFixtures/sales_with_shipping_and_taxes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,12 @@ Sylius\Component\Core\Model\Adjustment:
type: tax
label: "Tax"
amount: 61500
neutral: true
neutral: false
expensive_sw_mug_item_1_tax:
type: tax
label: "Tax"
amount: 11168
neutral: true
neutral: false
order_001_shipping:
type: shipping
label: "Shipping"
Expand Down
2 changes: 1 addition & 1 deletion tests/Functional/GmvProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function testGmvWithShippingAndTaxes(): void
$gmv = $this->gmvProvider->getGmvForPeriod($periodStart, $periodEnd);

$this->assertEquals(
['USD' => '$7,264.00', 'EUR' => '€20,443.12'],
['USD' => '$8,494.00', 'EUR' => '€20,666.48'],
$gmv,
);
}
Expand Down

0 comments on commit b87723a

Please sign in to comment.