diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-11-08 00:50:16 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-11-08 00:50:16 +0100 |
commit | e42cf1a738aef2c2aee32997d157965b02e2fe0d (patch) | |
tree | 0332ba70640210f1e4119927e2e5b72005f57163 /src/testing | |
parent | 579938a29e1d1d4ada49ca4c1a8b0d18878974a9 (diff) | |
download | merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.tar.gz merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.tar.bz2 merchant-e42cf1a738aef2c2aee32997d157965b02e2fe0d.zip |
adjust error codes in merchant
Diffstat (limited to 'src/testing')
-rw-r--r-- | src/testing/test_merchant_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index 2cb9caff..a5f0889d 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -938,7 +938,7 @@ run (void *cls, MHD_HTTP_BAD_REQUEST, "authorize-tip-1", pickup_amounts_1, - TALER_EC_TIP_PICKUP_AMOUNT_EXCEEDS_TIP_REMAINING), + TALER_EC_MERCHANT_TIP_PICKUP_AMOUNT_EXCEEDS_TIP_REMAINING), TALER_TESTING_cmd_tip_pickup ("pickup-tip-4", merchant_url, @@ -966,7 +966,7 @@ run (void *cls, MHD_HTTP_NOT_FOUND, "tip 3", "EUR:5.01", - TALER_EC_TIP_AUTHORIZE_DB_RESERVE_NOT_FOUND), + TALER_EC_MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_RESERVE_NOT_FOUND), // Test reserve with insufficient funds TALER_TESTING_cmd_merchant_post_reserves ("create-reserve-tip-2", @@ -991,7 +991,7 @@ run (void *cls, MHD_HTTP_PRECONDITION_FAILED, "tip 4", "EUR:5.01", - TALER_EC_TIP_AUTHORIZE_INSUFFICIENT_FUNDS), + TALER_EC_MERCHANT_PRIVATE_POST_TIP_AUTHORIZE_INSUFFICIENT_FUNDS), TALER_TESTING_cmd_tip_authorize_fake ("fake-tip-authorization"), TALER_TESTING_cmd_tip_pickup_with_ec ("pickup-non-existent-id", @@ -999,7 +999,7 @@ run (void *cls, MHD_HTTP_NOT_FOUND, "fake-tip-authorization", pickup_amounts_1, - TALER_EC_TIP_PICKUP_TIP_ID_UNKNOWN), + TALER_EC_MERCHANT_GENERIC_TIP_ID_UNKNOWN), TALER_TESTING_cmd_merchant_get_reserves ("get-reserves-2", merchant_url, |