diff options
author | Christian Blättler <blatc2@bfh.ch> | 2024-06-06 18:21:59 +0200 |
---|---|---|
committer | Christian Blättler <blatc2@bfh.ch> | 2024-06-06 18:21:59 +0200 |
commit | 99c500b4c088396a4646e0e4e71c48eed23946cb (patch) | |
tree | 5ea6fabc3a8d20101932cfabe3ecad681779fde2 | |
parent | 3031310580edd755c1790e664fc3b400a048f154 (diff) |
fix tests
-rw-r--r-- | src/testing/test_merchant_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index 6a98572d..ed220837 100644 --- 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"), |