diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-13 23:00:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-13 23:00:55 +0200 |
commit | 4d7970b571b63349f87578f20e2e392812b21eb0 (patch) | |
tree | f39e86e7ddebcac496a61eadcd6466a90870241b | |
parent | d1a301ebbf758b9f323584b59b87635d12940948 (diff) | |
download | anastasis-4d7970b571b63349f87578f20e2e392812b21eb0.tar.gz anastasis-4d7970b571b63349f87578f20e2e392812b21eb0.zip |
-adjust test to latest merchant API
-rwxr-xr-x | src/cli/test_anastasis_reducer_enter_secret.sh | 2 | ||||
-rwxr-xr-x | src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh b/src/cli/test_anastasis_reducer_enter_secret.sh index a5f1934..2b305b9 100755 --- a/src/cli/test_anastasis_reducer_enter_secret.sh +++ b/src/cli/test_anastasis_reducer_enter_secret.sh | |||
@@ -264,7 +264,7 @@ echo "OK" | |||
264 | echo -n "Configuring merchant instance ..." | 264 | echo -n "Configuring merchant instance ..." |
265 | # Setup merchant | 265 | # Setup merchant |
266 | 266 | ||
267 | curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"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_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/private/instances | 267 | curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"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_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/management/instances |
268 | 268 | ||
269 | 269 | ||
270 | echo " DONE" | 270 | echo " DONE" |
diff --git a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh index 85eb64f..ad1aea0 100755 --- a/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh +++ b/src/cli/test_anastasis_reducer_recovery_enter_user_attributes.sh | |||
@@ -263,7 +263,7 @@ echo "OK" | |||
263 | echo -n "Configuring merchant instance ..." | 263 | echo -n "Configuring merchant instance ..." |
264 | # Setup merchant | 264 | # Setup merchant |
265 | 265 | ||
266 | curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"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_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/private/instances | 266 | curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"payto_uris":["payto://x-taler-bank/localhost/43"],"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_ms" : 3600000},"default_pay_delay":{"d_ms": 3600000}}' http://localhost:9966/management/instances |
267 | 267 | ||
268 | 268 | ||
269 | echo " DONE" | 269 | echo " DONE" |