Skip to content

Commit

Permalink
test: rework to single test maintaining same values
Browse files Browse the repository at this point in the history
  • Loading branch information
joerivanveen authored and EdieLemoine committed Sep 4, 2024
1 parent 16f5bd0 commit 343dd9a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Unit/Pdk/Context/Service/WcContextServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function add_product_to_cart(?int $shippingClassId = null)
],
'expected' => [
'basePrice' => 0.0,
'highestShippingClass' => null,
'highestShippingClass' => '',
],
],
'flat rate with price' => [
Expand All @@ -109,7 +109,7 @@ function add_product_to_cart(?int $shippingClassId = null)
],
'expected' => [
'basePrice' => 0.0,
'highestShippingClass' => null,
'highestShippingClass' => '',
],
],
'product without shipping class' => [
Expand All @@ -118,7 +118,7 @@ function add_product_to_cart(?int $shippingClassId = null)
],
'expected' => [
'basePrice' => 0.0,
'highestShippingClass' => null,
'highestShippingClass' => '',
],
],
'flat rate without price' => [
Expand All @@ -128,7 +128,7 @@ function add_product_to_cart(?int $shippingClassId = null)
],
'expected' => [
'basePrice' => 0.0,
'highestShippingClass' => null,
'highestShippingClass' => '',
],
],
'term as array' => [
Expand All @@ -139,7 +139,7 @@ function add_product_to_cart(?int $shippingClassId = null)
],
'expected' => [
'basePrice' => 0.0,
'highestShippingClass' => null,
'highestShippingClass' => '',
],
],
]);

0 comments on commit 343dd9a

Please sign in to comment.