Parcourir la source

change put info

HOUYT il y a 6 ans
Parent
commit
8825c3ab50
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      comp_notice.json

+ 2 - 2
comp_notice.json

@@ -772,7 +772,7 @@
 							"script": {
 								"id": "8f3d2185-176b-4927-b135-98ae368ff9d9",
 								"exec": [
-									"tests[\"Status code is 200\"] = responseCode.code === 200 || responseCode.code === 400;",
+									"tests[\"Status code is 200\"] = responseCode.code === 200 || responseCode.code === 404;",
 									"",
 									"//  var jsonData = JSON.parse(responseBody);",
 									"    ",
@@ -822,7 +822,7 @@
 							"script": {
 								"id": "4ca12673-db8e-400e-8607-7b0348f8f27b",
 								"exec": [
-									"tests[\"Successful POST request\"] = responseCode.code === 200 || responseCode.code === 400;",
+									"tests[\"Successful POST request\"] = responseCode.code === 200 || responseCode.code === 404;",
 									"",
 									"  ",
 									"",