From d3178f2e4b5c60aa7463a8cb07ed3087859a1c83 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 21 Jul 2022 15:03:32 +0200 Subject: -fix field name --- src/testing/test_merchant_order_creation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/testing/test_merchant_order_creation.sh') diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh index c9658b26..fdf01d1d 100755 --- a/src/testing/test_merchant_order_creation.sh +++ b/src/testing/test_merchant_order_creation.sh @@ -196,7 +196,7 @@ echo OK echo -n "Creating product..." STATUS=$(curl 'http://localhost:9966/instances/default/private/products' \ - -d '{"product_id":"2","description":"product with id 2 and price :15","price":"TESTKUDOS:15","total_stock":2,"description_i18n":{},"unit":"","image":"'$RANDOM_IMG'","taxes":[],"address":{},"next_restock":{"t_ms":"never"}}' \ + -d '{"product_id":"2","description":"product with id 2 and price :15","price":"TESTKUDOS:15","total_stock":2,"description_i18n":{},"unit":"","image":"'$RANDOM_IMG'","taxes":[],"address":{},"next_restock":{"t_s":"never"}}' \ -w "%{http_code}" -s -o /dev/null) if [ "$STATUS" != "204" ] -- cgit v1.2.3