diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-02 20:38:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-02 20:38:42 +0200 |
commit | 952b78f06f4ddb00486a8c569e53f2070241de10 (patch) | |
tree | 49c8977f2bf6d4f4ac8c1ae021def6d9e2f9aef4 /src/lib/test_merchant_api.c | |
parent | 1782ab3c6dcfa854c303bdf751e82b5a600e2087 (diff) | |
download | merchant-952b78f06f4ddb00486a8c569e53f2070241de10.tar.gz merchant-952b78f06f4ddb00486a8c569e53f2070241de10.tar.bz2 merchant-952b78f06f4ddb00486a8c569e53f2070241de10.zip |
clean up pay logic more, add check for payment deadlines
Diffstat (limited to 'src/lib/test_merchant_api.c')
-rw-r--r-- | src/lib/test_merchant_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c index be7dec7e..39248178 100644 --- a/src/lib/test_merchant_api.c +++ b/src/lib/test_merchant_api.c @@ -522,7 +522,7 @@ run (void *cls, "{\"max_fee\":\"EUR:0.5\",\ \"order_id\":\"unincreased-proposal\",\ \"refund_deadline\":{\"t_ms\":0},\ - \"pay_deadline\":{\"t_ms\":99999999999},\ + \"pay_deadline\":{\"t_ms\":9999999999999},\ \"amount\":\"EUR:5.0\",\ \"summary\": \"merchant-lib testcase\",\ \"fulfillment_url\": \"https://example.com/\",\ @@ -686,7 +686,7 @@ run (void *cls, "{\"max_fee\":\"EUR:0.5\",\ \"order_id\":\"1-tip\", \ \"refund_deadline\":{\"t_ms\":0},\ - \"pay_deadline\":{\"t_ms\":99999999999},\ + \"pay_deadline\":{\"t_ms\":99999999999999},\ \"amount\":\"EUR:5.0\",\ \"summary\": \"useful product\",\ \"fulfillment_url\": \"https://example.com/\",\ @@ -737,7 +737,7 @@ run (void *cls, "{\"max_fee\":\"EUR:0.5\",\ \"order_id\":\"10\",\ \"refund_deadline\":{\"t_ms\":0},\ - \"pay_deadline\":{\"t_ms\":99999999999},\ + \"pay_deadline\":{\"t_ms\":99999999999999},\ \"amount\":\"EUR:10.0\",\ \"summary\": \"merchant-lib testcase\",\ \"fulfillment_url\": \"https://example.com/\",\ @@ -794,7 +794,7 @@ run (void *cls, "{\"max_fee\":\"EUR:0.5\",\ \"order_id\":\"11\",\ \"refund_deadline\":{\"t_ms\":0},\ - \"pay_deadline\":{\"t_ms\":99999999999},\ + \"pay_deadline\":{\"t_ms\":99999999999999},\ \"amount\":\"EUR:10.0\",\ \"summary\": \"merchant-lib testcase\",\ \"fulfillment_url\": \"https://example.com/\",\ |