diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-05-25 20:15:06 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-05-25 20:15:06 +0200 |
commit | 5e1d3d01a3fdbff3d8583c6d3281bdd7171af1d2 (patch) | |
tree | a35967245525216e2072fbd4e77abd7d5dd4eb66 /src/testing | |
parent | f0fe4e818c6ac7ea3bf58d624c77e4de275db07b (diff) | |
download | merchant-5e1d3d01a3fdbff3d8583c6d3281bdd7171af1d2.tar.gz merchant-5e1d3d01a3fdbff3d8583c6d3281bdd7171af1d2.tar.bz2 merchant-5e1d3d01a3fdbff3d8583c6d3281bdd7171af1d2.zip |
fix #6887/#6886: handle update in exchange API properly
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_merchant_api.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index 0292a521..65b987e4 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -961,7 +961,8 @@ run (void *cls, "EUR:20.04", &bc.exchange_auth, payer_payto, - "create-reserve-tip-1"), + "create-reserve-tip-1", + MHD_HTTP_OK), cmd_exec_wirewatch ("wirewatch-3"), TALER_TESTING_cmd_tip_authorize ("authorize-tip-1", merchant_url, @@ -972,7 +973,7 @@ run (void *cls, TALER_TESTING_cmd_tip_authorize_from_reserve ("authorize-tip-2", merchant_url, EXCHANGE_URL, - "create-reserve-tip-1", + "create-reserve-tip-1-exch", MHD_HTTP_OK, "tip 2", "EUR:5.01"), @@ -1008,16 +1009,16 @@ run (void *cls, TALER_TESTING_cmd_merchant_get_reserves ("get-reserves-1", merchant_url, MHD_HTTP_OK, - "create-reserve-tip-1", + "create-reserve-tip-1-exch", NULL), TALER_TESTING_cmd_merchant_get_reserve ("get-reserve-1", merchant_url, MHD_HTTP_OK, - "create-reserve-tip-1"), + "create-reserve-tip-1-exch"), TALER_TESTING_cmd_merchant_get_reserve_with_tips ("get-reserve-2", merchant_url, MHD_HTTP_OK, - "create-reserve-tip-1", + "create-reserve-tip-1-exch", "authorize-tip-1", "authorize-tip-2", NULL), @@ -1083,7 +1084,8 @@ run (void *cls, "EUR:1.04", &bc.exchange_auth, payer_payto, - "create-reserve-tip-2"), + "create-reserve-tip-2", + MHD_HTTP_OK), cmd_exec_wirewatch ("wirewatch-4"), TALER_TESTING_cmd_tip_authorize_from_reserve_with_ec ( "authorize-tip-insufficient-funds", |