Skip to content

Commit cca6908

Browse files
AC-12092_PHPUnit10: PHPUnit Error fix
1 parent 5f93ccc commit cca6908

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

app/code/Magento/Tax/Test/Unit/Model/ResourceModel/Sales/Order/ConvertQuoteTaxToOrderTaxTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ public static function executeDataProvider(): array
328328
'item_id' => null,
329329
'type' => 'shipping',
330330
'associated_item_id' => null,
331-
'appliedTaxes' => [
331+
'applied_taxes' => [
332332
[
333333
'amount' => 0.55,
334334
'base_amount' => 0.55,
@@ -368,7 +368,7 @@ public static function executeDataProvider(): array
368368
]
369369
]
370370
],
371-
'expectedItemTaxes' => [
371+
'expectedTaxes' => [
372372
//state tax
373373
'35' => [
374374
'order_id' => self::ORDERID,
@@ -578,7 +578,7 @@ public static function executeDataProvider(): array
578578
'item_id' => null,
579579
'type' => 'shipping',
580580
'associated_item_id' => null,
581-
'appliedTaxes' => [
581+
'applied_taxes' => [
582582
[
583583
'amount' => 0.55,
584584
'base_amount' => 0.55,
@@ -618,7 +618,7 @@ public static function executeDataProvider(): array
618618
]
619619
]
620620
],
621-
'expectedItemTaxes' => [
621+
'expectedTaxes' => [
622622
//state tax
623623
'35' => [
624624
'order_id' => self::ORDERID,

app/code/Magento/Weee/Test/Unit/Model/Total/Quote/WeeeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ public static function collectDataProvider(): array
882882
'base_weee_tax_applied_row_amnt_incl_tax' => 30
883883
],
884884
'itemQty' => 2,
885+
'parentQty' => 0,
885886
'addressData' => [
886887
'subtotal_incl_tax' => 30,
887888
'base_subtotal_incl_tax' => 30,

0 commit comments

Comments
 (0)