[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-merchant] 31/31: test_merchant_api_* passing
From: |
gnunet |
Subject: |
[taler-merchant] 31/31: test_merchant_api_* passing |
Date: |
Thu, 18 Apr 2024 08:39:24 +0200 |
This is an automated email from the git hooks/post-receive script.
christian-blaettler pushed a commit to branch master
in repository merchant.
commit f76afc11f45e16eab755e66b741acdfd2789f9e4
Author: Christian Blättler <blatc2@bfh.ch>
AuthorDate: Wed Apr 17 07:33:51 2024 +0200
test_merchant_api_* passing
---
src/testing/test_merchant_api.c | 14 +++-----------
src/testing/testing_api_cmd_post_tokenfamilies.c | 2 ++
2 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 78fd0da6..3f9136bc 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -1682,10 +1682,6 @@ run (void *cls,
"EUR:5",
0,
MHD_HTTP_OK),
- TALER_TESTING_cmd_merchant_get_orders ("get-orders-empty",
- merchant_url,
- MHD_HTTP_OK,
- NULL),
TALER_TESTING_cmd_merchant_post_tokenfamilies ("create-tokenfamily",
merchant_url,
MHD_HTTP_NO_CONTENT,
@@ -1706,14 +1702,8 @@ run (void *cls,
GNUNET_TIME_UNIT_ZERO_TS,
GNUNET_TIME_UNIT_FOREVER_TS,
"EUR:5.0"),
- /**
- * Check the reserve is depleted.
- */
- TALER_TESTING_cmd_status ("withdraw-status-1",
- "create-reserve-tokens",
- "EUR:0",
- MHD_HTTP_OK),
+ TALER_TESTING_cmd_end ()
};
struct TALER_TESTING_Command commands[] = {
@@ -2038,6 +2028,8 @@ run (void *cls,
auth),
TALER_TESTING_cmd_batch ("repurchase",
repurchase),
+ TALER_TESTING_cmd_batch ("tokens",
+ tokens),
/**
* End the suite.
*/
diff --git a/src/testing/testing_api_cmd_post_tokenfamilies.c
b/src/testing/testing_api_cmd_post_tokenfamilies.c
index ce76a543..aafff9ef 100644
--- a/src/testing/testing_api_cmd_post_tokenfamilies.c
+++ b/src/testing/testing_api_cmd_post_tokenfamilies.c
@@ -249,7 +249,9 @@ TALER_TESTING_cmd_merchant_post_tokenfamilies (
json_is_object (description_i18n));
state = GNUNET_new (struct PostTokenFamiliesState);
state->merchant_url = merchant_url;
+ state->http_status = http_status;
state->slug = slug;
+ state->name = name;
state->description = description;
state->description_i18n = description_i18n; /* ownership taken */
state->valid_after = valid_after;
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-merchant] 27/31: add post tokenfamilies cmd, (continued)
- [taler-merchant] 27/31: add post tokenfamilies cmd, gnunet, 2024/04/18
- [taler-merchant] 19/31: implement memory management review feedback, gnunet, 2024/04/18
- [taler-merchant] 08/31: parse v0 max_fee into limits struct, gnunet, 2024/04/18
- [taler-merchant] 23/31: Merge branch 'master' into tokens, gnunet, 2024/04/18
- [taler-merchant] 10/31: remove unused merchant_pub field (set directly in serialize order phase), gnunet, 2024/04/18
- [taler-merchant] 16/31: simplify contract structs, gnunet, 2024/04/18
- [taler-merchant] 12/31: first shot at v1 contract serialization, gnunet, 2024/04/18
- [taler-merchant] 18/31: first smoke tests, gnunet, 2024/04/18
- [taler-merchant] 29/31: update build system, gnunet, 2024/04/18
- [taler-merchant] 09/31: build merchant information in serialization phase, gnunet, 2024/04/18
- [taler-merchant] 31/31: test_merchant_api_* passing,
gnunet <=
- [taler-merchant] 25/31: improve output of test, gnunet, 2024/04/18
- [taler-merchant] 30/31: ignore clang files, gnunet, 2024/04/18
- [taler-merchant] 24/31: add test for order creation with v1 contract, gnunet, 2024/04/18
- [taler-merchant] 22/31: Merge branch 'master' into tokens, gnunet, 2024/04/18
- [taler-merchant] 14/31: db: add lookup function for token family key, gnunet, 2024/04/18
- [taler-merchant] 21/31: serialize v1 orders, gnunet, 2024/04/18
- [taler-merchant] 06/31: add limits datastructure, move brutto to contract instead of choice, gnunet, 2024/04/18
- [taler-merchant] 28/31: implement orders with choices test case, gnunet, 2024/04/18
- [taler-merchant] 26/31: add token family GET and POST handlers to merchant lib, gnunet, 2024/04/18