From b920402c6ebbbc6832adb69509b3313dadea9dd6 Mon Sep 17 00:00:00 2001 From: flo-ride <43076999+flo-ride@users.noreply.github.com> Date: Tue, 26 Nov 2024 21:15:37 +0100 Subject: [PATCH] fix(tests): Fix product_test 1 (disabled field is now obligatory) --- tests/product_tests.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/product_tests.rs b/tests/product_tests.rs index b588e04..a5e0ac2 100644 --- a/tests/product_tests.rs +++ b/tests/product_tests.rs @@ -94,7 +94,8 @@ async fn product_test_1() { "sell_price_currency": "euro", "unit": "unit", "purchasable": true, - "created_at": created_at + "created_at": created_at, + "disabled": false, } ] })); @@ -111,7 +112,8 @@ async fn product_test_1() { "sell_price_currency": "euro", "unit": "unit", "purchasable": true, - "created_at": created_at + "created_at": created_at, + "disabled": false, })); let response = server @@ -141,7 +143,8 @@ async fn product_test_1() { "sell_price_currency": "euro", "unit": "meter", "purchasable": true, - "created_at": created_at + "created_at": created_at, + "disabled": false, })); let response = server @@ -166,7 +169,8 @@ async fn product_test_1() { "max_quantity_per_command": 2, "unit": "meter", "purchasable": true, - "created_at": created_at + "created_at": created_at, + "disabled": false, })); let response = server