summaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_abort_order.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-29 19:36:47 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-29 19:36:47 -0400
commitbd6a7e949fa07c7b4c87a694c0037e2df3903665 (patch)
tree3e4119fe3ac79103aa14d926b9838bf83c395fbf /src/testing/testing_api_cmd_abort_order.c
parente24dd4856b91c4958df7c578275f60cdc11401f2 (diff)
downloadmerchant-bd6a7e949fa07c7b4c87a694c0037e2df3903665.tar.gz
merchant-bd6a7e949fa07c7b4c87a694c0037e2df3903665.tar.bz2
merchant-bd6a7e949fa07c7b4c87a694c0037e2df3903665.zip
get pay-again and pay-abort working again
Diffstat (limited to 'src/testing/testing_api_cmd_abort_order.c')
-rw-r--r--src/testing/testing_api_cmd_abort_order.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/testing/testing_api_cmd_abort_order.c b/src/testing/testing_api_cmd_abort_order.c
index d2f4e2aa..c44684e4 100644
--- a/src/testing/testing_api_cmd_abort_order.c
+++ b/src/testing/testing_api_cmd_abort_order.c
@@ -152,7 +152,15 @@ build_coins (struct TALER_MERCHANT_AbortCoin **ac,
TALER_TESTING_get_trait_url (coin_cmd,
TALER_TESTING_UT_EXCHANGE_BASE_URL,
&icoin->exchange_url));
- // FIXME: initialize icon->amount_with_fee!
+ {
+ const struct TALER_Amount *denom_value;
+ GNUNET_assert (GNUNET_OK
+ == TALER_TESTING_get_trait_amount_obj (coin_cmd,
+ 0,
+ &denom_value));
+ icoin->amount_with_fee = *denom_value;
+ }
+
}
}
return GNUNET_OK;
@@ -359,7 +367,7 @@ abort_cleanup (void *cls,
{
struct AbortState *as = cls;
- if (NULL != as->acs)
+ if (NULL != as->oah)
{
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
"Command `%s' did not complete.\n",