Ghost/test/e2e-frontend
Fabien 'egg' O'Carroll 9ff8d7f910
🐛 Fixed post access in the get helper (#14282)
refs https://github.com/TryGhost/Team/issues/1367

Because we are passing through a different member object as the context
in the get helper, the content gating was not working correctly, as the
member was missing a status property, this adds the property which fixes
content gating.

- Added extra tests for get helper {{access}} property
- Added extra test for {{access}} property in next_post helper
- In the future we might want to update the tests so they test the whole request -> HBS context flow. Currently the has context is still stubbed manually.
2022-03-17 11:14:29 +01:00
..
helpers 🐛 Fixed post access in the get helper (#14282) 2022-03-17 11:14:29 +01:00
advanced_url_config.test.js Switched AMP to be 'off' by default in all new Ghost instances (#13907) 2022-01-14 18:55:48 +02:00
custom_routes.test.js Removed unused sinon referece 2021-11-30 20:14:51 +13:00
default_routes.test.js 🐛 Fixed missing index page from pages sitemaps 2022-02-28 22:23:11 +07:00
email_routes.test.js Force start in email route tests to pick up stubbed API 2021-11-17 10:51:46 +00:00
members.test.js Bumped multiple tiers to GA (#14311) 2022-03-11 20:15:44 +05:30
preview_routes.test.js Updated e2e tests to be async/await 2021-10-06 15:51:05 +01:00