commit 99c500b4c088396a4646e0e4e71c48eed23946cb
parent 3031310580edd755c1790e664fc3b400a048f154
Author: Christian Blättler <blatc2@bfh.ch>
Date: Thu, 6 Jun 2024 18:21:59 +0200
fix tests
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
@@ -1690,11 +1690,11 @@ run (void *cls,
"An upcoming subscription that is not valid yet.",
NULL,
/* In one day */
- GNUNET_TIME_absolute_to_timestamp(
+ GNUNET_TIME_absolute_to_timestamp (
GNUNET_TIME_absolute_add (
GNUNET_TIME_timestamp_get ().abs_time, GNUNET_TIME_UNIT_DAYS)),
/* In a year */
- GNUNET_TIME_absolute_to_timestamp(
+ GNUNET_TIME_absolute_to_timestamp (
GNUNET_TIME_absolute_add (
GNUNET_TIME_timestamp_get ().abs_time, GNUNET_TIME_UNIT_YEARS)),
GNUNET_TIME_UNIT_MONTHS,
@@ -1717,7 +1717,7 @@ run (void *cls,
"Subscription",
"A subscription.",
NULL,
- GNUNET_TIME_timestamp_get (),
+ GNUNET_TIME_UNIT_ZERO_TS,
GNUNET_TIME_relative_to_timestamp (GNUNET_TIME_UNIT_YEARS),
GNUNET_TIME_UNIT_MONTHS,
"subscription"),