summaryrefslogtreecommitdiff
path: root/src/testing/test_merchant_order_creation.sh
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2022-07-21 15:03:32 +0200
committerChristian Grothoff <grothoff@gnunet.org>2022-07-21 15:05:38 +0200
commitd3178f2e4b5c60aa7463a8cb07ed3087859a1c83 (patch)
tree71b391f84a5db1fa8c16a4b0e90e6359aaa56f5a /src/testing/test_merchant_order_creation.sh
parentde56e2ee27253b4eeb21c8047433316df3eb4286 (diff)
downloadmerchant-d3178f2e4b5c60aa7463a8cb07ed3087859a1c83.tar.gz
merchant-d3178f2e4b5c60aa7463a8cb07ed3087859a1c83.tar.bz2
merchant-d3178f2e4b5c60aa7463a8cb07ed3087859a1c83.zip
-fix field name
Diffstat (limited to 'src/testing/test_merchant_order_creation.sh')
-rwxr-xr-xsrc/testing/test_merchant_order_creation.sh2
1 files changed, 1 insertions, 1 deletions
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" ]