Skip to content

Commit

Permalink
#24167 fix tests in 23.01.9
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgonzalez committed Nov 16, 2023
1 parent ab643ff commit bf19e4d
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions dotCMS/src/curl-test/Workflow Resource Tests.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"info": {
"_postman_id": "bab9b51b-731a-448a-ab05-c4511e518799",
"_postman_id": "6e9d6ed0-2b78-461b-90c8-8a2d4a3171f9",
"name": "Workflow Resource Tests [/api/v1/workflows]",
"description": "Test the necesary validations to every end point of the worlflow resource ",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "10041132"
"_exporter_id": "6484944"
},
"item": [
{
Expand Down Expand Up @@ -15898,6 +15898,16 @@
"});",
"",
"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');",
Expand Down Expand Up @@ -16071,6 +16081,14 @@
{
"key": "identifier22756",
"value": ""
},
{
"key": "contentletMovieIdentifier",
"value": ""
},
{
"key": "contentRelIdentifier",
"value": ""
}
]
}

0 comments on commit bf19e4d

Please sign in to comment.