summaryrefslogtreecommitdiff
path: root/src/testing/test_bank_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-20 12:31:27 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-20 12:31:27 +0200
commit4741f4ea02148ed1dede88affd83edd9a96e2680 (patch)
treebde9d1f98715cbd73ce4394545abd6e0252b6180 /src/testing/test_bank_api.c
parent259a180bb68bbc084cdb2f89887ecd165960f1f5 (diff)
downloadexchange-4741f4ea02148ed1dede88affd83edd9a96e2680.tar.gz
exchange-4741f4ea02148ed1dede88affd83edd9a96e2680.tar.bz2
exchange-4741f4ea02148ed1dede88affd83edd9a96e2680.zip
implement duplicate reserve_pub detection in fakebank, add test (fails in pybank), for #6863
Diffstat (limited to 'src/testing/test_bank_api.c')
-rw-r--r--src/testing/test_bank_api.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c
index 7069e44f..98f97cd4 100644
--- a/src/testing/test_bank_api.c
+++ b/src/testing/test_bank_api.c
@@ -87,6 +87,11 @@ run (void *cls,
"KUDOS:5.01",
&bc.exchange_auth,
bc.user42_payto),
+ TALER_TESTING_cmd_admin_add_incoming_with_ref ("credit-1-fail",
+ "KUDOS:2.01",
+ &bc.exchange_auth,
+ bc.user42_payto,
+ "credit-1"),
TALER_TESTING_cmd_sleep ("Waiting 4s for 'credit-1' to settle",
4),
TALER_TESTING_cmd_bank_credits ("history-1c",