Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
madbob committed Dec 1, 2024
1 parent 3d36942 commit 3c9af2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/tests/Services/ModifiersServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -996,7 +996,7 @@ private function testWithFriend($overlap)
$shipping_cost_found = false;

$printer = new OrderPrinter();
$formatted = $printer->formatShipping($order, splitFields(['lastname', 'firstname', 'name', 'quantity', 'price']), 'booked', 'all_by_name', 1);
$formatted = $printer->formatShipping($order, splitFields(['lastname', 'firstname', 'name', 'quantity', 'price']), 'booked', false, 'all_by_name', 1);

foreach($formatted->contents as $d) {
if ($d->user_id == $booking->user_id) {
Expand Down Expand Up @@ -1073,7 +1073,7 @@ public function testWithOnlyFriend()
$shipping_cost_found = false;

$printer = new OrderPrinter();
$formatted = $printer->formatShipping($order, splitFields(['lastname', 'firstname', 'name', 'quantity', 'price']), 'booked', 'all_by_name', 1);
$formatted = $printer->formatShipping($order, splitFields(['lastname', 'firstname', 'name', 'quantity', 'price']), 'booked', false, 'all_by_name', 1);

foreach($formatted->contents as $d) {
if ($d->user_id == $newUser->id) {
Expand Down

0 comments on commit 3c9af2b

Please sign in to comment.