summaryrefslogtreecommitdiff
path: root/test/apiv2
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-21 18:19:16 +0000
committerGitHub <noreply@github.com>2022-06-21 18:19:16 +0000
commit8863e13dc3248eaca1cd35359416166e896578f2 (patch)
treed4784d2a957e4936a73871df0d5b3d9e17c7aed1 /test/apiv2
parentc9dce6353d780e249f8a1c3ab8c47f3df83ec679 (diff)
parent4a981c490be01547c17fb0b1fc4d1c3bfbf3551e (diff)
downloadpodman-8863e13dc3248eaca1cd35359416166e896578f2.tar.gz
podman-8863e13dc3248eaca1cd35359416166e896578f2.tar.bz2
podman-8863e13dc3248eaca1cd35359416166e896578f2.zip
Merge pull request #14643 from clobrano/feature/network/list/dangling/dev
allow filter networks by dangling status
Diffstat (limited to 'test/apiv2')
-rw-r--r--test/apiv2/35-networks.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at
index 4aad4563d..fcff26521 100644
--- a/test/apiv2/35-networks.at
+++ b/test/apiv2/35-networks.at
@@ -78,8 +78,8 @@ t GET networks?filters="{\"id\":[\"$network1_id\"]}" 200 \
.[0].Name=network1 \
.[0].Id=$network1_id
# invalid filter
-t GET networks?filters='{"dangling":["1"]}' 500 \
- .cause='invalid filter "dangling"'
+t GET networks?filters='{"dangling":["true","0"]}' 500 \
+ .cause="got more than one value for filter key \"dangling\""
# (#9293 with no networks the endpoint should return empty array instead of null)
t GET networks?filters='{"name":["doesnotexists"]}' 200 \
"[]"