From 4f66fe98090999c6d1d63ec0296e106cdf2b44cb Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Sat, 8 Jun 2024 21:53:32 +0100 Subject: [PATCH] Fix broken test Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- tests/AutomationRules/Events/OrderScheduleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/AutomationRules/Events/OrderScheduleTest.php b/tests/AutomationRules/Events/OrderScheduleTest.php index 234296d..fdd092c 100644 --- a/tests/AutomationRules/Events/OrderScheduleTest.php +++ b/tests/AutomationRules/Events/OrderScheduleTest.php @@ -19,7 +19,7 @@ $params = OrderSchedule::makeParamsFromEvent([$order]); expect($params)->toHaveKeys(['order', 'order_id', 'order_type', 'order_total']) ->and($params['order'])->toBeInstanceOf(Order::class) - ->and($params['order_type'])->toBe('delivery') + ->and($params['order_type'])->toBe('Delivery') ->and($params['order_total'])->toBe(10.0); });