diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-04 15:12:24 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-04 15:12:39 +0200 |
commit | 8ef723b60e62c978916c6c46005bee38861d2911 (patch) | |
tree | 54f4f4bac16a1ba0b1a692d18349fb54e2fa0135 /src | |
parent | e9ffab25a0d659f11798331bcda2008b55659654 (diff) | |
download | merchant-8ef723b60e62c978916c6c46005bee38861d2911.tar.gz merchant-8ef723b60e62c978916c6c46005bee38861d2911.tar.bz2 merchant-8ef723b60e62c978916c6c46005bee38861d2911.zip |
First steps of #5087.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/test_merchant_api.c | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index 086daea0..0f937c84 100644 --- a/src/lib/test_merchant_api.c +++ b/src/lib/test_merchant_api.c @@ -654,6 +654,23 @@ struct Command */ struct TALER_MERCHANT_RefundLookupOperation *rlo; + /** + * Used to retrieve the asked refund amount. + * This information helps the callback to mock a GET /refund + * response and match it against what the backend actually + * responded. + */ + char *increase_ref; + + /** + * Used to retrieve the number and denomination of coins + * used to pay for the related contract. + * This information helps the callback to mock a GET /refund + * response and match it against what the backend actually + * responded. + */ + char *pay_ref; + } refund_lookup; } details; @@ -2569,7 +2586,9 @@ run (void *cls) }, { .oc = OC_REFUND_LOOKUP, .label = "refund-lookup-1", - .details.refund_lookup.order_id = "1" + .details.refund_lookup.order_id = "1", + .details.refund_lookup.increase_ref = "refund-increase-1", + .details.refund_lookup.pay_ref = "deposit-simple-1" }, /* end of testcase */ { .oc = OC_END } |