Explorar el Código

change put info

HOUYT hace 6 años
padre
commit
8825c3ab50
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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;",
 									"",
 									"  ",
 									"",