0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00
ghost/test/unit/api/canary/utils
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
..
serializers Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
validators/input Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
index_spec.js Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00