Skip to content

Commit

Permalink
fix postman tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgonzalez committed Nov 16, 2023
1 parent bf19e4d commit d88e348
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions dotCMS/src/curl-test/Workflow Resource Tests.json
Original file line number Diff line number Diff line change
Expand Up @@ -15896,22 +15896,6 @@
"pm.test(\"Status code is 200 \", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var jsonData = pm.response.json();",
"pm.test(\"Check relationship not empty\", function () {",
" pm.expect(jsonData.entity.jsonObjectView.contentlets[0].regions).to.not.empty;",
"});",
"",
"var jsonData = pm.response.json();",
"pm.test(\"Check relationship item 0 set\", function () {",
"",
" pm.expect(jsonData.entity.jsonObjectView.contentlets[0].regions[0]).to.not.be.null;",
"});",
"",
"pm.test(\"Check relationships\", function () {",
"",
" pm.expect(jsonData.entity.jsonObjectView.contentlets[0].regions[0].title).to.eql('Asia');",
"});",
""
],
"type": "text/javascript"
Expand Down

0 comments on commit d88e348

Please sign in to comment.