Ghost/ghost/custom-theme-settings-service/test
Kevin Ansfield b708c7ea67 Changed "NotFoundError" and "BadRequestError" to "ValidationError"
refs https://github.com/TryGhost/Team/issues/1104

- better matches the context of the request as we're validating known keys and valid options from multiple settings
  - "404 Not Found" didn't make sense because `/custom_theme_settings/` _does_ exist, it's just that one setting key wasn't known
  - "400 Bad Request" didn't make sense because the request was understood, it just failed validation of the setting values
2021-10-08 15:40:44 +01:00
..
utils slimer new custom-theme-settings-service 2021-09-21 17:21:52 +01:00
.eslintrc.js slimer new custom-theme-settings-service 2021-09-21 17:21:52 +01:00
cache.test.js Added tests for Cache class, fixed singular .get('key') behaviour 2021-10-06 13:12:26 +01:00
service.test.js Changed "NotFoundError" and "BadRequestError" to "ValidationError" 2021-10-08 15:40:44 +01:00