0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/server/services/members
Hannah Wolfe 499bb293c9
Fixed urlUtils usage in member config provider
- This is preparation work for getting rid of API versions
- The existing code used api versions for members, but the members API is not versioned
- This caused a bug as issuer was begin set to {{admin_url}}/ghost/api/undefined
- The updated code returns the correct value and is unit tested
- Whilst cleaning up I also swapped the usage of urlUtils to consistently use urlFor, as that is our main helper
2022-05-03 21:07:04 +01:00
..
config.test.js Fixed urlUtils usage in member config provider 2022-05-03 21:07:04 +01:00
content-gating.test.js Added unit tests for content gating post access 2022-02-11 14:26:04 +05:30
middleware.test.js Promoted multiple newsletters flag (backend) to GA (#14609) 2022-04-27 19:02:56 +01:00
stripe-connect.test.js
utils.test.js Added default newsletter subscription for new members (#14431) 2022-04-07 08:30:00 +05:30