0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/server
Simon Backx 38b9cf2472
Fixed newsletter includes when adding or editing (#14696)
refs https://github.com/TryGhost/Team/issues/1571
refs https://ghost.slack.com/archives/C02G9E68C/p1650986988322609

- Makes sure the includes are always included
- Moved read to the newsletter service
- Added tests
- Updated unit tests to work with multiple findOne calls
- Fixed reject assertions not correctly awaiting in unit tests
2022-05-05 11:20:15 +02:00
..
adapters
data Revert "Dropped nullable from subscribe events' newsletter id (#14598)" 2022-04-27 20:01:32 +01:00
lib Removed unnecessary use of rewire 2022-03-24 19:32:06 +00:00
models Updated newsletter sender name column as nullable (#14476) 2022-04-14 17:42:20 +05:30
services Fixed newsletter includes when adding or editing (#14696) 2022-05-05 11:20:15 +02:00
web Removed res.locals.apiVersion 2022-04-28 15:35:28 +01:00
notify.test.js Fixed notify library tests 2021-12-06 08:20:39 +00:00
overrides.test.js