You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes a stray backtick character (`) appended to a closing }); line in the FolderResource Postman collection test script, introduced in #36497. The extra character made the JavaScript test body syntactically invalid, causing the Postman test runner to fail on that request.
What changed
FolderResource.postman_collection.json — removed the trailing backtick from the }); line in the folder search test script.
🔴 Critical: dotcms-postman/src/main/resources/postman/FolderResource.postman_collection.json:155 — A stray backtick (`) was appended to the closing }); of the "Checking that all expected folder attributes are present" test. The line reads "});",\`` instead of "});",. This backtick is **outside** the JSON string literal, so it corrupts the collection file: it is no longer valid JSON and Newman/Postman will fail to parse and run the FolderResource` collection. This looks like an accidental keystroke rather than an intended change.
Fix: remove the trailing backtick so line 155 is just:
Note: aside from this typo, the intended goal (the PR title mentions including a hasChildren Postman test) doesn't appear in this diff — the only change here is the accidental backtick. Please confirm the intended test additions were committed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes a stray backtick character (
`) appended to a closing});line in theFolderResourcePostman collection test script, introduced in #36497. The extra character made the JavaScript test body syntactically invalid, causing the Postman test runner to fail on that request.What changed
FolderResource.postman_collection.json— removed the trailing backtick from the});line in the folder search test script.Checklist
Related to #36459