summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-26 09:53:42 +0200
committerMarcello Stanisci <marcello.stanisci@inria.fr>2017-07-26 09:53:42 +0200
commitfe3e7e8b7a57b5997e85a9a03e8139f9870b0501 (patch)
treecf5b78fd29aff326d996170d6a3e6767ea0bcc9b /src
parent77fd7e50cb69a2f6cefc6477690421a895a3ea6f (diff)
downloadmerchant-fe3e7e8b7a57b5997e85a9a03e8139f9870b0501.tar.gz
merchant-fe3e7e8b7a57b5997e85a9a03e8139f9870b0501.tar.bz2
merchant-fe3e7e8b7a57b5997e85a9a03e8139f9870b0501.zip
Do not set timestamp in lib testcase, because the backend
adds it by default if not found.
Diffstat (limited to 'src')
-rw-r--r--src/lib/test_merchant_api.c6
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 (&timestamp);
- json_object_set_new (order,
- "timestamp",
- GNUNET_JSON_from_time_abs (timestamp));
if (NULL != instance)
{
json_t *merchant;