summaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-03-01 16:55:55 +0100
committerFlorian Dold <florian@dold.me>2021-03-01 16:55:55 +0100
commitc18d676333c148a3c9fb5eea75089c1cff599c21 (patch)
tree6e24043895d9143c0c236198ef6c4723b38778d5 /src/testing
parentd08fe7d715adcf093f21b0abbbeed0b781314819 (diff)
downloadmerchant-c18d676333c148a3c9fb5eea75089c1cff599c21.tar.gz
merchant-c18d676333c148a3c9fb5eea75089c1cff599c21.tar.bz2
merchant-c18d676333c148a3c9fb5eea75089c1cff599c21.zip
remove auth token from PATCH instance
Diffstat (limited to 'src/testing')
-rw-r--r--src/testing/test_merchant_api.c4
-rw-r--r--src/testing/testing_api_cmd_patch_instance.c8
2 files changed, 0 insertions, 12 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index b1932cd6..ea1e1258 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -1181,7 +1181,6 @@ run (void *cls,
"USD:0.5",
GNUNET_TIME_UNIT_MINUTES,
GNUNET_TIME_UNIT_MINUTES,
- NULL,
MHD_HTTP_CONFLICT),
TALER_TESTING_cmd_merchant_patch_instance ("instance-patch-i1",
merchant_url,
@@ -1200,7 +1199,6 @@ run (void *cls,
"EUR:0.5",
GNUNET_TIME_UNIT_MINUTES,
GNUNET_TIME_UNIT_MINUTES,
- NULL,
MHD_HTTP_NO_CONTENT),
TALER_TESTING_cmd_merchant_get_instance2 ("instances-get-i1-2",
merchant_url,
@@ -1229,7 +1227,6 @@ run (void *cls,
"EUR:0.5",
GNUNET_TIME_UNIT_MINUTES,
GNUNET_TIME_UNIT_MINUTES,
- NULL,
MHD_HTTP_NO_CONTENT),
TALER_TESTING_cmd_merchant_get_instance2 ("instances-get-i1-3",
merchant_url,
@@ -1284,7 +1281,6 @@ run (void *cls,
"EUR:0.5",
GNUNET_TIME_UNIT_MINUTES,
GNUNET_TIME_UNIT_MINUTES,
- RFC_8959_PREFIX "SANDBOX",
MHD_HTTP_NO_CONTENT),
TALER_TESTING_cmd_merchant_post_instances ("instance-create-i2",
merchant_url,
diff --git a/src/testing/testing_api_cmd_patch_instance.c b/src/testing/testing_api_cmd_patch_instance.c
index 2cbd0e5b..a7a82ef7 100644
--- a/src/testing/testing_api_cmd_patch_instance.c
+++ b/src/testing/testing_api_cmd_patch_instance.c
@@ -80,11 +80,6 @@ struct PatchInstanceState
json_t *jurisdiction;
/**
- * Authentication token to require, can be NULL.
- */
- const char *auth_token;
-
- /**
* Wire fee to use.
*/
struct TALER_Amount default_max_wire_fee;
@@ -183,7 +178,6 @@ patch_instance_run (void *cls,
&pis->default_max_deposit_fee,
pis->default_wire_transfer_delay,
pis->default_pay_delay,
- pis->auth_token,
&patch_instance_cb,
pis);
GNUNET_assert (NULL != pis->iph);
@@ -286,7 +280,6 @@ TALER_TESTING_cmd_merchant_patch_instance (
const char *default_max_deposit_fee,
struct GNUNET_TIME_Relative default_wire_transfer_delay,
struct GNUNET_TIME_Relative default_pay_delay,
- const char *auth_token,
unsigned int http_status)
{
struct PatchInstanceState *pis;
@@ -313,7 +306,6 @@ TALER_TESTING_cmd_merchant_patch_instance (
&pis->default_max_deposit_fee));
pis->default_wire_transfer_delay = default_wire_transfer_delay;
pis->default_pay_delay = default_pay_delay;
- pis->auth_token = auth_token;
{
struct TALER_TESTING_Command cmd = {
.cls = pis,