mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
c33b596e9c
refs https://github.com/TryGhost/Team/issues/1104 - bumped `@tryghost/custom-theme-settings-service` so it throws a more appropriate `ValidationError` when setting keys don't exist or a select value is not known - changed the custom theme settings service to have a `.init()` method which creates an instance of the service under `.api` so that we're able to create the instance at a particular point in the boot process when we know the models have been initialised - there were problems in tests because the service was being initialised through the require chain before models were initialised through the boot process - fixed incorrect `camelCase` of resource name in API responses |
||
---|---|---|
.. | ||
actions.test.js | ||
config.test.js | ||
custom_theme_settings.test.js | ||
db.test.js | ||
email_preview.test.js | ||
emails.test.js | ||
images.test.js | ||
integrations.test.js | ||
invites.test.js | ||
key_authentication.test.js | ||
labels.test.js | ||
mail.test.js | ||
members.test.js | ||
notifications.test.js | ||
oembed.test.js | ||
pages.test.js | ||
posts.test.js | ||
roles.test.js | ||
settings.test.js | ||
slugs.test.js | ||
snippets.test.js | ||
tags.test.js | ||
themes.test.js | ||
users.test.js | ||
utils.js | ||
webhooks.test.js |