summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2020-09-15 11:29:45 -0700
committerJhon Honce <jhonce@redhat.com>2020-09-15 11:29:45 -0700
commit8a8bae8299dff8d10c0a2f5873190e19a83ea01c (patch)
treec3ceb3bdb851ef3713529b0fc6a989883bd2acf5 /test
parent0be5836e49da38b156951639b7e19eaec6a6e593 (diff)
downloadpodman-8a8bae8299dff8d10c0a2f5873190e19a83ea01c.tar.gz
podman-8a8bae8299dff8d10c0a2f5873190e19a83ea01c.tar.bz2
podman-8a8bae8299dff8d10c0a2f5873190e19a83ea01c.zip
Refactor API version values
* API-Version header now Major.Minor to support tools parsing this header * Libpod Version updated to 2.0.0 to reflect changes in API field values * API-Version and Libpod-API-Version headers are now included in all results Fixes #7327 * Header support tested against goland 2020.2 and https://www.jetbrains.com/help/idea/docker.html plugin Signed-off-by: Jhon Honce <jhonce@redhat.com>
Diffstat (limited to 'test')
-rw-r--r--test/apiv2/01-basic.at8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/apiv2/01-basic.at b/test/apiv2/01-basic.at
index 96b6aef7c..541d8cbf1 100644
--- a/test/apiv2/01-basic.at
+++ b/test/apiv2/01-basic.at
@@ -18,11 +18,11 @@ t HEAD libpod/_ping 200
for i in /version version; do
t GET $i 200 \
.Components[0].Name="Podman Engine" \
- .Components[0].Details.APIVersion=1.0.0 \
- .Components[0].Details.MinAPIVersion=1.0.0 \
+ .Components[0].Details.APIVersion=2.0.0 \
+ .Components[0].Details.MinAPIVersion=2.0.0 \
.Components[0].Details.Os=linux \
- .ApiVersion=1.0.0 \
- .MinAPIVersion=1.0.0 \
+ .ApiVersion=1.40 \
+ .MinAPIVersion=1.24 \
.Os=linux
done