Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erickgonzalez committed Oct 22, 2024
1 parent 45b9d8a commit be57389
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions dotCMS/src/curl-test/GraphQLTests.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,6 @@
"pm.test(\"'page' element includes all properties\", function () {",
" var jsonData = pm.response.json();",
" var page = jsonData[\"entity\"][\"page\"];",
" pm.expect(page[\"__icon__\"]).equal(\"pageIcon\");",
" pm.expect(page[\"archived\"], 'FAILED:[archived]').equal(false);",
" pm.expect(page[\"baseType\"]).equal(\"HTMLPAGE\");",
" pm.expect(page[\"cachettl\"]).equal(\"0\");",
Expand Down Expand Up @@ -824,7 +823,6 @@
" var jsonData = pm.response.json();",
" var page = jsonData.data.page;",
"",
" pm.expect(page[\"__icon__\"]).equal(\"pageIcon\");",
" pm.expect(page[\"archived\"], 'FAILED:[archived]').equal(false);",
" pm.expect(page[\"baseType\"]).equal(\"HTMLPAGE\");",
" pm.expect(page[\"cachettl\"]).equal(\"0\");",
Expand Down Expand Up @@ -916,7 +914,7 @@
"body": {
"mode": "graphql",
"graphql": {
"query": "{\n page(url:\"/destinations/costa-rica\") {\n __icon__\n archived\n baseType\n cachettl\n canEdit\n canLock\n canRead\n contentType\n deleted\n description\n extension\n friendlyName\n folder {\n folderId\n folderName\n }\n hasLiveVersion\n hasTitleImage\n host {\n identifier\n hostName\n }\n httpsRequired\n identifier\n image\n imageContentAsset\n imageVersion\n inode\n isContentlet\n conLanguage {\n id\n }\n live\n liveInode\n locked\n mimeType\n modDate\n modUser {\n userId\n firstName\n lastName\n }\n name\n owner {\n userId\n }\n pageURI\n pageUrl\n path\n publishDate\n seoTitle\n seodescription\n shortDescription\n shortyLive\n shortyWorking\n sortOrder\n stInode \n statusIcons\n tags\n title\n titleImage {\n name\n idPath\n versionPath\n }\n type\n url\n working\n workingInode\n }\n}",
"query": "{\n page(url:\"/destinations/costa-rica\") {\n archived\n baseType\n cachettl\n canEdit\n canLock\n canRead\n contentType\n deleted\n description\n extension\n friendlyName\n folder {\n folderId\n folderName\n }\n hasLiveVersion\n hasTitleImage\n host {\n identifier\n hostName\n }\n httpsRequired\n identifier\n image\n imageContentAsset\n imageVersion\n inode\n isContentlet\n conLanguage {\n id\n }\n live\n liveInode\n locked\n mimeType\n modDate\n modUser {\n userId\n firstName\n lastName\n }\n name\n owner {\n userId\n }\n pageURI\n pageUrl\n path\n publishDate\n seoTitle\n seodescription\n shortDescription\n shortyLive\n shortyWorking\n sortOrder\n stInode \n statusIcons\n tags\n title\n titleImage {\n name\n idPath\n versionPath\n }\n type\n url\n working\n workingInode\n }\n}",
"variables": ""
}
},
Expand Down Expand Up @@ -9886,4 +9884,4 @@
"value": ""
}
]
}
}

0 comments on commit be57389

Please sign in to comment.