aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-04-04 23:14:52 +0200
committerChristian Grothoff <christian@grothoff.org>2019-04-04 23:14:52 +0200
commit3a38124fa780be01a06bb7d3a3c7d51824f256cf (patch)
tree8362859d2f1d4a692df3f4deef4062f4ff08114c /src/lib
parent65950734eebc72a431724af163b51f7a04640ab9 (diff)
clean up code duplication in checking of tipping reserve status by moving shared logic to helper function
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test_merchant_api_new.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c
index 94aafac6..67df2b93 100644
--- a/src/lib/test_merchant_api_new.c
+++ b/src/lib/test_merchant_api_new.c
@@ -511,7 +511,7 @@ run (void *cls,
/**
* The following block will (1) create a new
* reserve, then (2) a proposal, then (3) pay for
- * it, and finally (4) attempt to pick up a refund
+ * it, and finally (4) attempt to pick up a refund
* from it without any increasing taking place
* in the first place.
**/
@@ -641,7 +641,7 @@ run (void *cls,
"nulltip",
"tip 2",
"EUR:5.01",
- TALER_EC_TIP_AUTHORIZE_RESERVE_UNKNOWN),
+ TALER_EC_RESERVE_STATUS_UNKNOWN),
TALER_TESTING_cmd_tip_query ("query-tip-1",
merchant_url,