Skip to content

Commit bbedeaa

Browse files
committed
fix: test names
1 parent 390f347 commit bbedeaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

integration-tests/js-validator-api-tests.postman_collection.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2923,7 +2923,7 @@
29232923
"listen": "test",
29242924
"script": {
29252925
"exec": [
2926-
"pm.test(\"Status code is 200\", function () { pm.response.to.have.status(422); });",
2926+
"pm.test(\"Status code is 422\", function () { pm.response.to.have.status(422); });",
29272927
"const jsonData = pm.response.json();",
29282928
"pm.test(\"The file is invalid\", function () {",
29292929
" pm.expect(jsonData.valid).to.eql(false);",
@@ -2934,10 +2934,10 @@
29342934
"pm.test(\"version is 2.02\", function () {",
29352935
" pm.expect(jsonData.iatiVersion).to.eql('2.02');",
29362936
"});",
2937-
"pm.test(\"two errors\", function () {",
2937+
"pm.test(\"Two schema errors in first group\", function () {",
29382938
" pm.expect(jsonData.errors[0].errors[0].errors.length).to.eql(2);",
29392939
"});",
2940-
"pm.test(\"two errors\", function () {",
2940+
"pm.test(\"Error ID should be 0.3.1\", function () {",
29412941
" pm.expect(jsonData.errors[0].errors[0].errors[0].id).to.eql(\"0.3.1\");",
29422942
"});",
29432943
""

0 commit comments

Comments
 (0)