From 45b100d21ce1ca1843e26366466d09eac2d4add0 Mon Sep 17 00:00:00 2001 From: zhangguanzhang Date: Sun, 2 Aug 2020 21:08:13 +0800 Subject: API returns 500 in case network is not found instead of 404 Signed-off-by: zhangguanzhang --- test/apiv2/35-networks.at | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/apiv2/35-networks.at (limited to 'test/apiv2') diff --git a/test/apiv2/35-networks.at b/test/apiv2/35-networks.at new file mode 100644 index 000000000..fff3f3b1f --- /dev/null +++ b/test/apiv2/35-networks.at @@ -0,0 +1,8 @@ +# -*- sh -*- +# +# network-related tests +# + +t GET /networks/non-existing-network 404 + +# vim: filetype=sh -- cgit v1.2.3-54-g00ecf