summaryrefslogtreecommitdiff
path: root/test/apiv2
diff options
context:
space:
mode:
authorJakub Guzik <jakubmguzik@gmail.com>2021-03-12 00:03:03 +0100
committerJakub Guzik <jakubmguzik@gmail.com>2021-03-12 00:03:03 +0100
commit7b0155cf780f396f6ffc4455ae5825f5fc14ca79 (patch)
tree6969fbedbd7cf3363d7f39cdd84c7cd7179dc0bd /test/apiv2
parente2d35e55d0ad77fcaca5bbe90276e9c47d514131 (diff)
downloadpodman-7b0155cf780f396f6ffc4455ae5825f5fc14ca79.tar.gz
podman-7b0155cf780f396f6ffc4455ae5825f5fc14ca79.tar.bz2
podman-7b0155cf780f396f6ffc4455ae5825f5fc14ca79.zip
Fix array instead of one elem network http api
Signed-off-by: Jakub Guzik <jakubmguzik@gmail.com>
Diffstat (limited to 'test/apiv2')
-rw-r--r--test/apiv2/35-networks.at4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at
index d3bbaf32b..93a9c9fe4 100644
--- a/test/apiv2/35-networks.at
+++ b/test/apiv2/35-networks.at
@@ -27,6 +27,10 @@ t GET libpod/networks/json?filters='{"name":["network1"]}' 200 \
.[0].Name=network1
t GET networks 200
+#inspect network
+t GET libpod/networks/network1/json 200 \
+ .name="network1"
+
#network list docker endpoint
t GET networks?filters='{"name":["network1","network2"]}' 200 \
length=2