0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/test/unit/server/data/schema
Rishabh Garg 95670eed52
Handled default newsletter fixtures setup (#14459)
closes https://github.com/TryGhost/Team/issues/1491

With multiple newsletters feature, a site should always have at-least one newsletter by default. Also, as with the default product, the default newsletter also needs to be renamed to the site title during the setup flow.

- adds default newsletter to main and test fixtures
- updates setup flow to rename newsletter name and sender name to site title
- updates model to extend default value for fields
- updates test
2022-04-12 19:44:21 +05:30
..
fixtures Handled default newsletter fixtures setup (#14459) 2022-04-12 19:44:21 +05:30
commands.test.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
integrity.test.js Handled default newsletter fixtures setup (#14459) 2022-04-12 19:44:21 +05:30
schema.test.js Fixed newsletter schema column validation (#14456) 2022-04-11 15:05:02 +05:30
validator.test.js