aboutsummaryrefslogtreecommitdiff
path: root/src/testing/test_bank_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-11-10 11:38:45 +0100
committerChristian Grothoff <grothoff@gnunet.org>2023-11-10 11:38:45 +0100
commit01ccbda67da39532bba24822887cd00ff15bf4e0 (patch)
tree97ee1439c764b72420098cee8075a3bad0ac8ac5 /src/testing/test_bank_api.c
parent67f06263a370a92002540c9fd56c5c0ca646d34a (diff)
downloadexchange-01ccbda67da39532bba24822887cd00ff15bf4e0.tar.xz
add admin credentials for /admin/add/incoming, makes tests pass with latest libeufin-bank
Diffstat (limited to 'src/testing/test_bank_api.c')
-rw-r--r--src/testing/test_bank_api.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/test_bank_api.c b/src/testing/test_bank_api.c
index 0dea6026d..8cbc86bbd 100644
--- a/src/testing/test_bank_api.c
+++ b/src/testing/test_bank_api.c
@@ -98,7 +98,7 @@ run (void *cls,
1),
TALER_TESTING_cmd_admin_add_incoming ("credit-1",
"EUR:5.01",
- &cred.ba,
+ &cred.ba_admin,
cred.user42_payto),
/**
* This CMD doesn't care about the HTTP response code; that's
@@ -108,7 +108,7 @@ run (void *cls,
*/
TALER_TESTING_cmd_admin_add_incoming_with_ref ("credit-1-fail",
"EUR:2.01",
- &cred.ba,
+ &cred.ba_admin,
cred.user42_payto,
"credit-1",
-1),
@@ -126,7 +126,7 @@ run (void *cls,
5),
TALER_TESTING_cmd_admin_add_incoming ("credit-2",
"EUR:3.21",
- &cred.ba,
+ &cred.ba_admin,
cred.user42_payto),
TALER_TESTING_cmd_transfer ("debit-1",
"EUR:3.22",