Ghost/test
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
..
e2e-api Removed archived tiers from content api (#14329) 2022-03-16 22:02:42 +05:30
e2e-browser Added note about installing the E2E browsers 2022-02-22 10:20:40 +01:00
e2e-frontend 🐛 Fixed post access in the get helper (#14282) 2022-03-17 11:14:29 +01:00
e2e-server Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
integration Fixed bad setup call in settings integration test 2022-03-16 14:03:02 +00:00
regression Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
unit Refactored mapper into individual files (#14328) 2022-03-16 12:44:11 +00:00
utils Revert "Added global setup to reset DB before test run" 2022-03-16 21:10:49 +00:00
.eslintignore Updated casper test fixture to latest version 2022-01-25 14:10:53 +00:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00