summaryrefslogtreecommitdiff
path: root/src/bank-lib/test_bank_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-12-09 20:28:17 +0100
committerChristian Grothoff <christian@grothoff.org>2017-12-09 20:28:17 +0100
commit1c3863f5fd03efd0d86ec6831297b508742bb862 (patch)
treec5e9a17a4b97f6fdf3d76a14a6fd8a174b7ab97d /src/bank-lib/test_bank_api.c
parent44aaaf9e933fc11998fae276ed2b958fdae265b7 (diff)
downloadexchange-1c3863f5fd03efd0d86ec6831297b508742bb862.tar.gz
exchange-1c3863f5fd03efd0d86ec6831297b508742bb862.tar.bz2
exchange-1c3863f5fd03efd0d86ec6831297b508742bb862.zip
swap account numbers so reject can work with auth
Diffstat (limited to 'src/bank-lib/test_bank_api.c')
-rw-r--r--src/bank-lib/test_bank_api.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bank-lib/test_bank_api.c b/src/bank-lib/test_bank_api.c
index 0f575c514..b6160ef39 100644
--- a/src/bank-lib/test_bank_api.c
+++ b/src/bank-lib/test_bank_api.c
@@ -46,23 +46,23 @@ run (void *cls)
.details.history.direction = TALER_BANK_DIRECTION_BOTH,
.details.history.start_row_ref = NULL,
.details.history.num_results = 5 },
- /* Move money from Exchange to Bank */
+ /* Move money from Bank to Exchange */
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
.label = "deposit-1",
.details.admin_add_incoming.exchange_base_url = "https://exchange.net/", /* bogus */
.details.admin_add_incoming.subject = "subject 1",
.details.admin_add_incoming.expected_response_code = MHD_HTTP_OK,
- .details.admin_add_incoming.credit_account_no = 1,
- .details.admin_add_incoming.debit_account_no = 2, /* Ignored */
+ .details.admin_add_incoming.credit_account_no = 2,
+ .details.admin_add_incoming.debit_account_no = 1, /* Ignored */
.details.admin_add_incoming.amount = "KUDOS:5.01" },
- /* Move money from Exchange to Bank */
+ /* Move money from Bank to Exchange */
{ .oc = TBI_OC_ADMIN_ADD_INCOMING,
.label = "deposit-2",
.details.admin_add_incoming.exchange_base_url = "https://exchange.net/", /* bogus */
.details.admin_add_incoming.subject = "subject 2",
.details.admin_add_incoming.expected_response_code = MHD_HTTP_OK,
- .details.admin_add_incoming.credit_account_no = 1,
- .details.admin_add_incoming.debit_account_no = 2, /* Ignored */
+ .details.admin_add_incoming.credit_account_no = 2,
+ .details.admin_add_incoming.debit_account_no = 1, /* Ignored */
.details.admin_add_incoming.amount = "KUDOS:5.01" },
/* Ask Exchange's incoming history */
{ .oc = TBI_OC_HISTORY,
@@ -71,7 +71,7 @@ run (void *cls)
.details.history.direction = TALER_BANK_DIRECTION_CREDIT,
.details.history.start_row_ref = NULL,
.details.history.num_results = 5 },
- /* Ask Exchange's outgoing history, 5 records into the future?? */
+ /* Ask Exchange's outgoing history, 5 records into the future */
{ .oc = TBI_OC_HISTORY,
.label = "history-2d",
.details.history.account_number = 2,