summaryrefslogtreecommitdiff
path: root/test/apiv2/10-images.at
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-05-28 20:12:08 -0400
committerGitHub <noreply@github.com>2020-05-28 20:12:08 -0400
commitcd1e25f5d57059a50e8aeae5b640c2d282e70f96 (patch)
treec5fe7993722f72f96b2f49b1ce47e2bb99adc531 /test/apiv2/10-images.at
parente8818ced806910f8ce44939fef08f89139be4119 (diff)
parent5626c2163bff661540e1ae3a5df25f0c7e7573f6 (diff)
downloadpodman-cd1e25f5d57059a50e8aeae5b640c2d282e70f96.tar.gz
podman-cd1e25f5d57059a50e8aeae5b640c2d282e70f96.tar.bz2
podman-cd1e25f5d57059a50e8aeae5b640c2d282e70f96.zip
Merge pull request #6420 from jwhonce/wip/json
V2 verify JSON output is consistent and doesn't drift
Diffstat (limited to 'test/apiv2/10-images.at')
-rw-r--r--test/apiv2/10-images.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/apiv2/10-images.at b/test/apiv2/10-images.at
index 2a1eaf8be..1c7ba8948 100644
--- a/test/apiv2/10-images.at
+++ b/test/apiv2/10-images.at
@@ -7,15 +7,15 @@
podman pull -q $IMAGE
t GET libpod/images/json 200 \
- .[0].ID~[0-9a-f]\\{64\\}
-iid=$(jq -r '.[0].ID' <<<"$output")
+ .[0].Id~[0-9a-f]\\{64\\}
+iid=$(jq -r '.[0].Id' <<<"$output")
t GET libpod/images/$iid/exists 204
t GET libpod/images/$PODMAN_TEST_IMAGE_NAME/exists 204
# FIXME: compare to actual podman info
t GET libpod/images/json 200 \
- .[0].ID=${iid}
+ .[0].Id=${iid}
t GET libpod/images/$iid/json 200 \
.Id=$iid \