diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-26 09:53:42 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-07-26 09:53:42 +0200 |
commit | fe3e7e8b7a57b5997e85a9a03e8139f9870b0501 (patch) | |
tree | cf5b78fd29aff326d996170d6a3e6767ea0bcc9b /src/lib | |
parent | 77fd7e50cb69a2f6cefc6477690421a895a3ea6f (diff) |
Do not set timestamp in lib testcase, because the backend
adds it by default if not found.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/test_merchant_api.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index 644bc529..ff1cbe09 100644 --- a/src/lib/test_merchant_api.c +++ b/src/lib/test_merchant_api.c @@ -1990,16 +1990,10 @@ interpreter_run (void *cls) { json_t *order; json_error_t error; - struct GNUNET_TIME_Absolute timestamp; GNUNET_assert (NULL != (order = json_loads (cmd->details.proposal.order, JSON_REJECT_DUPLICATES, &error))); - timestamp = GNUNET_TIME_absolute_get (); - (void) GNUNET_TIME_round_abs (×tamp); - json_object_set_new (order, - "timestamp", - GNUNET_JSON_from_time_abs (timestamp)); if (NULL != instance) { json_t *merchant; |