From 02ff1cd05944e48f4c004b3e5096b5856e253cdc Mon Sep 17 00:00:00 2001 From: cheatfate Date: Mon, 14 Oct 2024 03:28:16 +0300 Subject: [PATCH] Fix incorrect status codes in REST test. --- ncli/resttest-rules.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ncli/resttest-rules.json b/ncli/resttest-rules.json index 427373fda1..12f8683150 100644 --- a/ncli/resttest-rules.json +++ b/ncli/resttest-rules.json @@ -4746,7 +4746,7 @@ "headers": {"Accept": "application/json"} }, "response": { - "status": {"operator": "oneof", "value": ["400", "200"]} + "status": {"operator": "equals", "value": "400"} } }, { @@ -4756,7 +4756,7 @@ "headers": {"Accept": "application/json"} }, "response": { - "status": {"operator": "oneof", "value": ["400", "200"]} + "status": {"operator": "oneof", "value": ["404", "200"]} } }, {