diff options
Diffstat (limited to 'src/testing/testing_api_cmd_post_products.c')
-rw-r--r-- | src/testing/testing_api_cmd_post_products.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testing/testing_api_cmd_post_products.c b/src/testing/testing_api_cmd_post_products.c index 372a5fab..be3c3071 100644 --- a/src/testing/testing_api_cmd_post_products.c +++ b/src/testing/testing_api_cmd_post_products.c @@ -97,7 +97,7 @@ struct PostProductsState /** * when the next restocking is expected to happen, 0 for unknown, */ - struct GNUNET_TIME_Absolute next_restock; + struct GNUNET_TIME_Timestamp next_restock; /** * Expected HTTP response code. @@ -213,8 +213,8 @@ post_products_traits (void *cls, TALER_TESTING_make_trait_taxes (pps->taxes), TALER_TESTING_make_trait_product_stock (&pps->total_stock), TALER_TESTING_make_trait_address (pps->address), - TALER_TESTING_make_trait_absolute_time (0, - &pps->next_restock), + TALER_TESTING_make_trait_timestamp (0, + &pps->next_restock), TALER_TESTING_make_trait_product_id (&pps->product_id), TALER_TESTING_trait_end (), }; @@ -266,7 +266,7 @@ TALER_TESTING_cmd_merchant_post_products2 ( json_t *taxes, int64_t total_stock, json_t *address, - struct GNUNET_TIME_Absolute next_restock, + struct GNUNET_TIME_Timestamp next_restock, unsigned int http_status) { struct PostProductsState *pis; @@ -324,7 +324,7 @@ TALER_TESTING_cmd_merchant_post_products (const char *label, json_array (), 4, json_pack ("{s:s}", "street", "my street"), - GNUNET_TIME_UNIT_ZERO_ABS, + GNUNET_TIME_UNIT_ZERO_TS, http_status); } |