diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-07-26 11:52:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 11:52:17 +0200 |
commit | 43d6f89d12c10e4605759174bb2bc583035ee118 (patch) | |
tree | a1739f49c30a7b3f83cf6f8017cde5163bf58462 /test/apiv2/12-imagesMore.at | |
parent | e9d29d71cb3185fc071ba4d5f353c9eff6ff349a (diff) | |
parent | 52a4642edd8a2c2f62d10c2180d785b4f04f18c5 (diff) | |
download | podman-43d6f89d12c10e4605759174bb2bc583035ee118.tar.gz podman-43d6f89d12c10e4605759174bb2bc583035ee118.tar.bz2 podman-43d6f89d12c10e4605759174bb2bc583035ee118.zip |
Merge pull request #15057 from marshall-lee/tls-verify-default-true
Set TLSVerify=true by default for API endpoints
Diffstat (limited to 'test/apiv2/12-imagesMore.at')
-rw-r--r-- | test/apiv2/12-imagesMore.at | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/apiv2/12-imagesMore.at b/test/apiv2/12-imagesMore.at index d4b09174f..498d67569 100644 --- a/test/apiv2/12-imagesMore.at +++ b/test/apiv2/12-imagesMore.at @@ -28,7 +28,10 @@ t GET libpod/images/$IMAGE/json 200 \ .RepoTags[1]=localhost:$REGISTRY_PORT/myrepo:mytag # Push to local registry... -t POST "images/localhost:$REGISTRY_PORT/myrepo/push?tlsVerify=false&tag=mytag" 200 +t POST "images/localhost:$REGISTRY_PORT/myrepo/push?tag=mytag" 200 \ + .error~".*x509: certificate signed by unknown authority" +t POST "images/localhost:$REGISTRY_PORT/myrepo/push?tlsVerify=false&tag=mytag" 200 \ + .error~null # ...and check output. We can't use our built-in checks because this output # is a sequence of JSON objects, i.e., individual ones, not in a JSON array. |