From b87723abe7e4a09332a5123228ed664c2234962c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pysiak?= Date: Thu, 27 Jun 2024 07:50:51 +0200 Subject: [PATCH] Add not neutral tax adjustments --- tests/DataFixtures/sales_with_shipping_and_taxes.yaml | 4 ++-- tests/Functional/GmvProviderTest.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/DataFixtures/sales_with_shipping_and_taxes.yaml b/tests/DataFixtures/sales_with_shipping_and_taxes.yaml index 6ecf887..2c7c5bb 100644 --- a/tests/DataFixtures/sales_with_shipping_and_taxes.yaml +++ b/tests/DataFixtures/sales_with_shipping_and_taxes.yaml @@ -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" diff --git a/tests/Functional/GmvProviderTest.php b/tests/Functional/GmvProviderTest.php index 46429b3..90cce84 100644 --- a/tests/Functional/GmvProviderTest.php +++ b/tests/Functional/GmvProviderTest.php @@ -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, ); }