Ghost/apps/admin-x-settings/test/utils/responses/incoming_recommendations.json
Sag 96065f9c94
Added more acceptance tests for Recommendation settings (#18696)
closes https://github.com/TryGhost/Product/issues/3955

- also, moved recommendations code to the "membership" folder for
consistency with the UI
- also, renamed "yarn test:slowmo" to "yarn test:acceptance:slowmo" for
consistency in the naming
- also, removed "limit: 1" when checking whether a recommendation URL
already exists. The limit defaults to 5 on the API side, and allowing
more than 1 result will lead to a more thorough check
2023-10-18 18:56:34 +00:00

33 lines
1018 B
JSON

{
"recommendations": [
{
"id": "64f6ed7d63be05eff0045d88",
"title": "Incoming recommendation 1 title",
"excerpt": "Incoming recommendation 1 excerpt",
"featured_image": "https://incoming1.com/image.jpg",
"favicon": "https://incoming1.com/favicon.ico",
"url": "https://incoming1.com/",
"recommending_back": false
},
{
"id": "f52d782ef9278a47d6965d1e",
"title": "Incoming recommendation 2 title",
"excerpt": "Incoming recommendation 2 excerpt",
"featured_image": "https://incoming2.com/image.jpg",
"favicon": "https://incoming2.com/favicon.ico",
"url": "https://incoming2.com/",
"recommending_back": true
}
],
"meta": {
"pagination": {
"page": 1,
"pages": 1,
"limit": 5,
"total": 2,
"prev": null,
"next": null
}
}
}