Skip to content

Commit

Permalink
Fix incorrect status codes in REST test.
Browse files Browse the repository at this point in the history
  • Loading branch information
cheatfate committed Oct 14, 2024
1 parent fc6f321 commit 02ff1cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ncli/resttest-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -4746,7 +4746,7 @@
"headers": {"Accept": "application/json"}
},
"response": {
"status": {"operator": "oneof", "value": ["400", "200"]}
"status": {"operator": "equals", "value": "400"}
}
},
{
Expand All @@ -4756,7 +4756,7 @@
"headers": {"Accept": "application/json"}
},
"response": {
"status": {"operator": "oneof", "value": ["400", "200"]}
"status": {"operator": "oneof", "value": ["404", "200"]}
}
},
{
Expand Down

0 comments on commit 02ff1cd

Please sign in to comment.