0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -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
db_test.js
error_test.js
notifications_test.js
posts_test.js [API] Retrieve next and previous post 2015-01-13 12:49:16 +00:00
settings_test.js
slugs_test.js
tags_test.js
users_test.js API - no more m-2-m relation ids by default 2014-12-02 19:24:44 +00:00