Jelajahi Sumber

change put info

HOUYT 5 tahun lalu
induk
melakukan
8825c3ab50
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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;",
 									"",
 									"  ",
 									"",