[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sync] branch master updated: fix test FTBFS due to payto API chan
From: |
gnunet |
Subject: |
[taler-sync] branch master updated: fix test FTBFS due to payto API change |
Date: |
Thu, 14 Nov 2024 08:53:16 +0100 |
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 f50bef5 fix test FTBFS due to payto API change
f50bef5 is described below
commit f50bef5c73866363a48ce3200ef8402cc0c3fd18
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Nov 14 08:53:13 2024 +0100
fix test FTBFS due to payto API change
---
src/testing/test_sync_api.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/src/testing/test_sync_api.c b/src/testing/test_sync_api.c
index f4e7d51..1d6d4c5 100644
--- a/src/testing/test_sync_api.c
+++ b/src/testing/test_sync_api.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2014-2023 Taler Systems SA
+ Copyright (C) 2014-2024 Taler Systems SA
TALER is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as
@@ -65,17 +65,17 @@
/**
* Payto URI of the customer (payer).
*/
-static char *payer_payto;
+static struct TALER_FullPayto payer_payto;
/**
* Payto URI of the exchange (escrow account).
*/
-static char *exchange_payto;
+static struct TALER_FullPayto exchange_payto;
/**
* Payto URI of the merchant (receiver).
*/
-static char *merchant_payto;
+static struct TALER_FullPayto merchant_payto;
/**
* Configuration of the bank.
@@ -100,7 +100,7 @@ static const char *sync_url = "http://localhost:8084/";
* @param label label to use for the command.
*/
static struct TALER_TESTING_Command
-cmd_exec_wirewatch (char *label)
+cmd_exec_wirewatch (const char *label)
{
return TALER_TESTING_cmd_exec_wirewatch (label,
CONFIG_FILE);
@@ -265,13 +265,14 @@ main (int argc,
char *const *argv)
{
(void) argc;
- payer_payto =
- "payto://x-taler-bank/localhost/" USER_ACCOUNT_NAME "?receiver-name=user";
- exchange_payto =
- "payto://x-taler-bank/localhost/" EXCHANGE_ACCOUNT_NAME
+ payer_payto.full_payto =
+ (char *) "payto://x-taler-bank/localhost/" USER_ACCOUNT_NAME
+ "?receiver-name=user";
+ exchange_payto.full_payto =
+ (char *) "payto://x-taler-bank/localhost/" EXCHANGE_ACCOUNT_NAME
"?receiver-name=exchange";
- merchant_payto =
- "payto://x-taler-bank/localhost/" MERCHANT_ACCOUNT_NAME
+ merchant_payto.full_payto =
+ (char *) "payto://x-taler-bank/localhost/" MERCHANT_ACCOUNT_NAME
"?receiver-name=merchant";
return TALER_TESTING_main (argv,
"DEBUG",
--
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 test FTBFS due to payto API change,
gnunet <=