aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_bank_history_debit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing_api_cmd_bank_history_debit.c')
-rw-r--r--src/testing/testing_api_cmd_bank_history_debit.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_bank_history_debit.c b/src/testing/testing_api_cmd_bank_history_debit.c
index fcc78bfb7..779facee8 100644
--- a/src/testing/testing_api_cmd_bank_history_debit.c
+++ b/src/testing/testing_api_cmd_bank_history_debit.c
@@ -167,7 +167,7 @@ print_expected (struct History *h,
167 TALER_amount2s (&h[i].details.amount), 167 TALER_amount2s (&h[i].details.amount),
168 (unsigned long long) h[i].row_id, 168 (unsigned long long) h[i].row_id,
169 TALER_B2S (&h[i].details.wtid), 169 TALER_B2S (&h[i].details.wtid),
170 h[i].details.credit_account_url); 170 h[i].details.credit_account_uri);
171 } 171 }
172} 172}
173 173
@@ -320,8 +320,8 @@ build_history (struct TALER_TESTING_Interpreter *is,
320 pos * 2); 320 pos * 2);
321 h[pos].c_url = GNUNET_strdup (credit_account); 321 h[pos].c_url = GNUNET_strdup (credit_account);
322 h[pos].d_url = GNUNET_strdup (debit_account); 322 h[pos].d_url = GNUNET_strdup (debit_account);
323 h[pos].details.credit_account_url = h[pos].c_url; 323 h[pos].details.credit_account_uri = h[pos].c_url;
324 h[pos].details.debit_account_url = h[pos].d_url; 324 h[pos].details.debit_account_uri = h[pos].d_url;
325 h[pos].details.amount = *amount; 325 h[pos].details.amount = *amount;
326 h[pos].row_id = *row_id; 326 h[pos].row_id = *row_id;
327 h[pos].details.wtid = *wtid; 327 h[pos].details.wtid = *wtid;
@@ -372,8 +372,8 @@ check_result (struct History *h,
372 &details->wtid)) || 372 &details->wtid)) ||
373 (0 != TALER_amount_cmp (&h[off].details.amount, 373 (0 != TALER_amount_cmp (&h[off].details.amount,
374 &details->amount)) || 374 &details->amount)) ||
375 (0 != strcasecmp (h[off].details.credit_account_url, 375 (0 != strcasecmp (h[off].details.credit_account_uri,
376 details->credit_account_url)) ) 376 details->credit_account_uri)) )
377 { 377 {
378 GNUNET_break (0); 378 GNUNET_break (0);
379 print_expected (h, 379 print_expected (h,
@@ -522,6 +522,7 @@ history_run (void *cls,
522 &hs->auth, 522 &hs->auth,
523 row_id, 523 row_id,
524 hs->num_results, 524 hs->num_results,
525 GNUNET_TIME_UNIT_ZERO,
525 &history_cb, 526 &history_cb,
526 is); 527 is);
527 GNUNET_assert (NULL != hs->hh); 528 GNUNET_assert (NULL != hs->hh);