diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-03-11 15:52:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-11 15:52:19 -0500 |
commit | 81737b37738dfa21be3cf9775919458523511ae9 (patch) | |
tree | 20fe81671ccaa59debf1b108212c78cacb394808 /test/apiv2/50-secrets.at | |
parent | 8d33bfabaa20612718d909494c2ceec26482d279 (diff) | |
parent | 258749e43dc8c2e842f96f8672823b0fa4e5a147 (diff) | |
download | podman-81737b37738dfa21be3cf9775919458523511ae9.tar.gz podman-81737b37738dfa21be3cf9775919458523511ae9.tar.bz2 podman-81737b37738dfa21be3cf9775919458523511ae9.zip |
Merge pull request #9686 from edsantiago/apiv2_jsonify
apiv2 tests: finally fix POST as originally intended
Diffstat (limited to 'test/apiv2/50-secrets.at')
-rw-r--r-- | test/apiv2/50-secrets.at | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/apiv2/50-secrets.at b/test/apiv2/50-secrets.at index c4ffb5883..034ec080a 100644 --- a/test/apiv2/50-secrets.at +++ b/test/apiv2/50-secrets.at @@ -4,14 +4,14 @@ # # secret create -t POST secrets/create '"Name":"mysecret","Data":"c2VjcmV0"' 200\ +t POST secrets/create Name=mysecret Data=c2VjcmV0 200\ .ID~.* \ # secret create unsupported labels -t POST secrets/create '"Name":"mysecret","Data":"c2VjcmV0","Labels":{"fail":"fail"}' 400 +t POST secrets/create Name=mysecret Data=c2VjcmV0 Labels='{"fail":"fail"}' 400 # secret create name already in use -t POST secrets/create '"Name":"mysecret","Data":"c2VjcmV0"' 409 +t POST secrets/create Name=mysecret Data=c2VjcmV0 409 # secret inspect t GET secrets/mysecret 200 \ @@ -36,4 +36,4 @@ t DELETE secrets/mysecret 204 t DELETE secrets/bogus 404 # secret update not implemented -t POST secrets/mysecret/update "" 501 +t POST secrets/mysecret/update 501 |