commit 5104ecf39a713f318862135628e70a5fb63fecae
parent dfdd322c1fd4d35926fd0cff5aaf7475fd6e232c
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 11 May 2021 22:51:02 +0200
update test case note to link to bug that is being tested for
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/testing/test_merchant_order_creation.sh b/src/testing/test_merchant_order_creation.sh
@@ -301,7 +301,8 @@ then
exit_fail "Expected response ok. got: $STATUS"
fi
-#this will trigger the GNUNET_break at taler-merchant-httpd_private-post-transfers.c:1030
+# Test for #6854: use a bogus WTID, causing the exchange to fail to
+# find the WTID.
STATUS=$(curl 'http://localhost:9966/instances/default/private/transfers' \
-d '{"credit_amount":"'$CREDIT_AMOUNT'","wtid":"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA","payto_uri":"'$TARGET_PAYTO'","exchange_url":"'$WURL'"}' \
-w "%{http_code}" -s -o $LAST_RESPONSE)