aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-03-07 15:11:04 +0100
committerChristian Grothoff <christian@grothoff.org>2024-03-07 15:11:04 +0100
commita4c7985bfea912791ee6cc9f7826860a51140890 (patch)
treebfed0ae7d9bce4bbc4432bb055262417f83bc3d7
parent56a19c5226716e3216fcce9545496f8d64fe5754 (diff)
406 to 400 status code change in testsv0.9.4a
-rw-r--r--src/testing/test_merchant_api.c2
-rw-r--r--src/testing/test_merchant_api_twisted.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c
index 80ec3dad..e9b492b3 100644
--- a/src/testing/test_merchant_api.c
+++ b/src/testing/test_merchant_api.c
@@ -1133,7 +1133,7 @@ run (void *cls,
"EUR:10.0"),
TALER_TESTING_cmd_merchant_pay_order ("pay-fail-partial-double-11-good",
merchant_url,
- MHD_HTTP_NOT_ACCEPTABLE,
+ MHD_HTTP_BAD_REQUEST,
"create-proposal-11",
"withdraw-coin-11a",
"EUR:5",
diff --git a/src/testing/test_merchant_api_twisted.c b/src/testing/test_merchant_api_twisted.c
index aa3b09b1..446e6eb3 100644
--- a/src/testing/test_merchant_api_twisted.c
+++ b/src/testing/test_merchant_api_twisted.c
@@ -226,7 +226,7 @@ run (void *cls,
* so we'll then have the right to abort. */
TALER_TESTING_cmd_merchant_pay_order ("deposit-simple-for-abort",
twister_merchant_url,
- MHD_HTTP_NOT_ACCEPTABLE,
+ MHD_HTTP_BAD_REQUEST,
"create-proposal-abort-1",
"withdraw-coin-abort-1",
"EUR:1.01",
@@ -401,7 +401,7 @@ run (void *cls,
"EUR:6.0"),
TALER_TESTING_cmd_merchant_pay_order ("deposit-2",
merchant_url,
- MHD_HTTP_NOT_ACCEPTABLE,
+ MHD_HTTP_BAD_REQUEST,
"create-proposal-2",
"withdraw-coin-1",
"EUR:5",