0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-15 03:01:37 -05:00
ghost/test/unit
Simon Backx f389bab6ab
🐛 {{access}} property incorrect when using get/next-post/prev-post helpers (#14256)
refs https://github.com/TryGhost/Team/issues/1367

- The {{access}} property of a post always returned false for non-public content
- Added the member context to the get, next-post and prev-post helpers
- The get, next-post and prev-post helpers didn't add the member context to the internal API calls
- Added the members context to these calls
- Added tests that check if the member context is passed to the API calls
- Transformed next_post helper tests to async await syntax
- Transformed prev_post helper tests to async await syntax
2022-03-03 16:18:05 +01:00
..
api Updated tests to handle visibility tier 2022-02-01 11:13:51 +05:30
frontend 🐛 {{access}} property incorrect when using get/next-post/prev-post helpers (#14256) 2022-03-03 16:18:05 +01:00
server Added JWT authentication for non-versioned API 2022-03-03 20:21:22 +13:00
shared Added test-specific default-settings.json configuration 2022-02-21 20:06:20 +13:00