[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sync] branch master updated: fix FTBFS of tests caused by exchang
From: |
gnunet |
Subject: |
[taler-sync] branch master updated: fix FTBFS of tests caused by exchange/merchant API changes |
Date: |
Sat, 18 Jul 2020 17:53:04 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository sync.
The following commit(s) were added to refs/heads/master by this push:
new a1f9565 fix FTBFS of tests caused by exchange/merchant API changes
a1f9565 is described below
commit a1f9565d5b6c6ec3e45b3dabf166a7aa99e0db1b
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Jul 18 17:53:01 2020 +0200
fix FTBFS of tests caused by exchange/merchant API changes
---
src/lib/test_sync_api.c | 50 +++++++++++----------
.../share/taler/exchange/wirefees/x-taler-bank.fee | Bin 600 -> 800 bytes
2 files changed, 27 insertions(+), 23 deletions(-)
diff --git a/src/lib/test_sync_api.c b/src/lib/test_sync_api.c
index fe51df3..3ff0215 100644
--- a/src/lib/test_sync_api.c
+++ b/src/lib/test_sync_api.c
@@ -152,6 +152,13 @@ run (void *cls,
struct TALER_TESTING_Interpreter *is)
{
struct TALER_TESTING_Command commands[] = {
+ TALER_TESTING_cmd_merchant_post_instances ("instance-create-default",
+ merchant_url,
+ "default",
+ merchant_payto,
+ "EUR",
+ MHD_HTTP_NO_CONTENT),
+
/**
* Move money to the exchange's bank account.
*/
@@ -162,16 +169,14 @@ run (void *cls,
* transfer.
*/
cmd_exec_wirewatch ("wirewatch-1"),
- TALER_TESTING_cmd_withdraw_amount
- ("withdraw-coin-1",
- "create-reserve-1",
- "EUR:5",
- MHD_HTTP_OK),
- TALER_TESTING_cmd_withdraw_amount
- ("withdraw-coin-2",
- "create-reserve-1",
- "EUR:5",
- MHD_HTTP_OK),
+ TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-1",
+ "create-reserve-1",
+ "EUR:5",
+ MHD_HTTP_OK),
+ TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-2",
+ "create-reserve-1",
+ "EUR:5",
+ MHD_HTTP_OK),
/* Failed download: no backup exists */
SYNC_TESTING_cmd_backup_nx ("backup-download-nx",
sync_url),
@@ -185,20 +190,19 @@ run (void *cls,
"Test-1",
strlen ("Test-1")),
/* what would we have to pay? */
- TALER_TESTING_cmd_proposal_lookup ("fetch-proposal",
- merchant_url,
- MHD_HTTP_OK,
- "backup-upload-1",
- NULL),
+ TALER_TESTING_cmd_merchant_claim_order ("fetch-proposal",
+ merchant_url,
+ MHD_HTTP_OK,
+ "backup-upload-1",
+ NULL),
/* make the payment */
- TALER_TESTING_cmd_pay ("pay-account",
- merchant_url,
- MHD_HTTP_OK,
- "fetch-proposal",
- "withdraw-coin-1",
- "EUR:5",
- "EUR:4.99", /* must match ANNUAL_FEE in config! */
- "EUR:0.01"),
+ TALER_TESTING_cmd_merchant_pay_order ("pay-account",
+ merchant_url,
+ MHD_HTTP_OK,
+ "fetch-proposal",
+ "withdraw-coin-1",
+ "EUR:5",
+ "EUR:4.99"), /* must match
ANNUAL_FEE in config! */
/* now upload should succeed */
SYNC_TESTING_cmd_backup_upload ("backup-upload-2",
sync_url,
diff --git
a/src/lib/test_sync_api_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee
b/src/lib/test_sync_api_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee
index 90605f1..771ac45 100644
Binary files
a/src/lib/test_sync_api_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee
and
b/src/lib/test_sync_api_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee
differ
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-sync] branch master updated: fix FTBFS of tests caused by exchange/merchant API changes,
gnunet <=