Ghost/test/e2e-api/admin
Kevin Ansfield c33b596e9c
Added API tests for custom theme settings (#13519)
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
2021-10-08 16:18:49 +01:00
..
actions.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
config.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
custom_theme_settings.test.js Added API tests for custom theme settings (#13519) 2021-10-08 16:18:49 +01:00
db.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
email_preview.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
emails.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
images.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
integrations.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
invites.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
key_authentication.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
labels.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
mail.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
members.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
notifications.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
oembed.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
pages.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
posts.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
roles.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
settings.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
slugs.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
snippets.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
tags.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
themes.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
users.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
utils.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00
webhooks.test.js Renamed our acceptance tests to "e2e" 2021-10-06 12:40:52 +01:00