Ghost/test/regression/api/canary/admin
Naz d9ddc2db6a Added extra validation for some settings of array type
refs https://github.com/TryGhost/Team/issues/754
refs a7dec233ba

- Additional validation protects from problems like the ones in refed commit from even getting through to the database.
- At the moment only used notificatons and couple more settings to ensure they are arrays when passed into the API. This is to avoid making big change in settings straight away - this is a problematic area which needs cautious approach.
- Ideally in the future the list of settings to check the "array" type (and other types) should be automatically generated based on the default-settings.json (or whatever way we define settings in the db a that moment)
- There's an ugly code-tripplication going on in this change. This is a separate topic that will be addressed once we work on API cleanup.
2021-06-28 14:26:18 +04:00
..
authentication_spec.js 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
db_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
identities_spec.js Updated tests to reflect jwks-rsa v2 changes 2021-04-16 09:58:47 +01:00
images_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
labels_spec.js Added more specific error handling when adding duplicate labels 2020-06-05 00:23:10 +12:00
members_signin_url_spec.js Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
members_spec.js 🐛 Fixed saving Members with Complimentary plans (#13008) 2021-06-03 18:28:14 +01:00
notifications_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
pages_spec.js Moved config from server to shared (#11850) 2020-05-27 18:47:53 +01:00
posts_spec.js 🐛 Fixed frontmatter-related validation error 2021-05-13 12:14:05 +04:00
redirects_spec.js Fixed broken tests from previous commit 2021-03-17 16:18:48 +01:00
schedules_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
settings_spec.js Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
site_spec.js Added regression tests for Admin API /site endpoints 2021-03-09 22:10:27 +13:00
slack_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
users_spec.js Moved acceptance test utils into own file 2021-06-01 13:17:45 +01:00
utils.js Added posts_meta.feature_image_{alt,caption} columns (#13030) 2021-06-10 20:35:56 +01:00
webhooks_spec.js Fixed fixture creation order in webhooks tests 2021-03-04 10:56:58 +01:00