aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2022-11-24 10:31:49 -0500
committerpriscilla <priscilla.huang@efrei.net>2022-11-24 10:31:49 -0500
commit6874f45896dfe00d5106c69fa9312cbac216899a (patch)
tree9942890cd1bbc21d910fba5433079c058158dfde /src/testing
parenta16f8ac9bbdafc11b293860619907836f651ead1 (diff)
Update
Diffstat (limited to 'src/testing')
-rwxr-xr-xsrc/testing/test_merchant_product_creation.sh3
-rw-r--r--src/testing/test_merchant_template_creation.sh0
2 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/test_merchant_product_creation.sh b/src/testing/test_merchant_product_creation.sh
index 9b109f0f..246efd33 100755
--- a/src/testing/test_merchant_product_creation.sh
+++ b/src/testing/test_merchant_product_creation.sh
@@ -24,7 +24,8 @@ FORTYTHREE=`get_payto_uri fortythree x`
STATUS=$(curl -H "Content-Type: application/json" -X POST \
-H 'Authorization: Bearer secret-token:super_secret' \
http://localhost:9966/management/instances \
- -d '{"auth":{"method":"external"},"payto_uris":["'$FORTYTHREE'"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us" : 50000000},"default_pay_delay":{"d_us": 60000000}}' \
+ -d '{"auth":{"method":"external"},"payto_uris":["'$FORTYTHREE'"],"id":"default","name":"default","address":{},"jurisdiction":{},"default_max_wire_fee":"TESTKUDOS
+:1", "default_max_deposit_fee":"TESTKUDOS:1","default_wire_fee_amortization":1,"default_wire_transfer_delay":{"d_us" : 50000000},"default_pay_delay":{"d_us": 60000000}}' \
-w "%{http_code}" -s -o /dev/null)
if [ "$STATUS" != "204" ]
diff --git a/src/testing/test_merchant_template_creation.sh b/src/testing/test_merchant_template_creation.sh
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/src/testing/test_merchant_template_creation.sh