commit 4f68918039408854874a2e402a86f7c15f74fd2f
parent a635ebe25d24117b214ebde6d2d4f6e9abfafe54
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sat, 10 Jan 2026 22:36:22 +0900
do not hard-code 2025, that breaks in 2026 (surprise)
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
@@ -2097,8 +2097,8 @@ run (void *cls,
"A subscription.",
NULL,
GNUNET_TIME_UNIT_ZERO_TS,
- GNUNET_TIME_relative_to_timestamp
- (GNUNET_TIME_UNIT_YEARS),
+ GNUNET_TIME_relative_to_timestamp (
+ GNUNET_TIME_UNIT_YEARS),
GNUNET_TIME_UNIT_MONTHS,
GNUNET_TIME_UNIT_MONTHS,
"subscription"),
@@ -2259,7 +2259,7 @@ run (void *cls,
NULL,
0,
"post-charity",
- 2025,
+ GNUNET_TIME_get_current_year (),
"7560001010000",
"1234"
),