Ghost/test/unit/models
Rish d5f68dbbc5 Updated serializers/model layer validation using settings type
refs https://github.com/TryGhost/Ghost/issues/10318

- Updates `boolean` serialization in v2/canary serializers to apply only for `boolean` type settings
- Updates `boolean` transformation in model layer `format`/`parse` to check on `boolean` type setting
- Removes error thrown on Read-only setting for settings edit endpoint
- Updates v2/canary input serializers to remove any Read-only settings (using RO flag) to avoid edits
- Added type/group mappings in the importer when pre-migration settings table import data is present
- Updates tests
2020-06-30 17:38:36 +05:30
..
base Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
plugins Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
api-key_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
integration_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
invite_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
member_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
permission_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
post_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
session_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
settings_spec.js Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
tag_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
user_spec.js Remove common errors (#11848) 2020-05-26 19:10:29 +01:00