Ghost/ghost/members-api/test/unit/lib
Naz 82ed10473b
Added 'getDefaultProduct' convenience method to product repo
refs https://github.com/TryGhost/Team/issues/1869

- There are multiple places in the codebase fetching "default product". The code is slightly divergent in each one of them and has been a source of bugs (like the one referenced). Having the logic captured in one place will allow reducing the code duplication, making code less bug prone, and making testing the modules dependent on the "setDefaultProduct" method easier
2022-10-20 17:19:52 +08:00
..
controllers/member Restricted changing Subscription to archived Tier 2022-01-21 14:08:31 +02:00
repositories Added 'getDefaultProduct' convenience method to product repo 2022-10-20 17:19:52 +08:00
services Added test coverage for JWKS token verification 2022-05-23 17:59:33 +08:00
geolocation.test.js Refactor members-api (#231) 2021-01-18 13:55:40 +00:00