diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-07-21 17:32:18 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-07-21 17:32:18 +0200 |
commit | 245a7eb5b63bdc18ab1b41738d5ba12884afc7e0 (patch) | |
tree | b315216c740c9de6e14167ecb2928e435853ad01 /src/testing/test_merchant_api.c | |
parent | 0eee3574dcb7bf1971a2e106f666caa41f8589f3 (diff) |
-fix test regressions
Diffstat (limited to 'src/testing/test_merchant_api.c')
-rw-r--r-- | src/testing/test_merchant_api.c | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/src/testing/test_merchant_api.c b/src/testing/test_merchant_api.c index ef8d74cf..047582b0 100644 --- a/src/testing/test_merchant_api.c +++ b/src/testing/test_merchant_api.c @@ -556,8 +556,8 @@ run (void *cls, json_object (), "can", "EUR:1", - "IMAGE-DATA", - json_object (), + "data:image/jpeg;base64,RAWDATA", + json_array (), 5, 0, json_object (), @@ -938,14 +938,20 @@ run (void *cls, merchant_url_i1a, NULL, MHD_HTTP_UNAUTHORIZED), - TALER_TESTING_cmd_set_authorization ("set-auth-none", - NULL), + TALER_TESTING_cmd_merchant_post_instance_auth ( + "instance-create-i1a-auth-ok", + merchant_url, + "i1a", + RFC_8959_PREFIX "my-other-secret", + MHD_HTTP_NO_CONTENT), TALER_TESTING_cmd_merchant_post_instance_auth ( "instance-create-i1a-clear-auth", merchant_url, "i1a", NULL, MHD_HTTP_NO_CONTENT), + TALER_TESTING_cmd_set_authorization ("set-auth-none", + NULL), TALER_TESTING_cmd_merchant_purge_instance ("instance-delete-i1a", merchant_url, "i1a", @@ -1504,8 +1510,8 @@ run (void *cls, json_pack ("{s:s}", "en", "text"), "kg", "EUR:1", - "IMAGE", - json_object (), + "data:image/jpeg;base64,RAWDATA", + json_array (), 40, 0, json_pack ("{s:s}", @@ -1531,8 +1537,8 @@ run (void *cls, json_pack ("{s:s}", "en", "text"), "kg", "EUR:1", - "IMAGE", - json_object (), + "data:image/jpeg;base64,RAWDATA", + json_array (), 40, 0, json_pack ("{s:s}", |