0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/functional/routes/api
Eugene Kulabuhov 0e2709c42f [API] Retrieve next and previous post
closes #4262
- implementation based on #1545
- added integration test. Modified mocked posts because code requires published_at timestamps to be different.
- fixed 2 broken tests that depended on mocked posts to have "new Date()" as their timestamps
- added checks to only query db if next/previous post requested
2015-01-13 12:49:16 +00:00
..
authentication_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
db_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
error_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
notifications_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
posts_test.js [API] Retrieve next and previous post 2015-01-13 12:49:16 +00:00
settings_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
slugs_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
tags_test.js Fix cache-control header for API routes 2014-09-25 11:06:28 +01:00
users_test.js API - no more m-2-m relation ids by default 2014-12-02 19:24:44 +00:00