commit d3178f2e4b5c60aa7463a8cb07ed3087859a1c83
parent de56e2ee27253b4eeb21c8047433316df3eb4286
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Thu, 21 Jul 2022 15:03:32 +0200
-fix field name
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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" ]