0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
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
api-key_spec.js
integration_spec.js
invite_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
member_spec.js
permission_spec.js
post_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
session_spec.js
settings_spec.js Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
tag_spec.js
user_spec.js Remove common errors (#11848) 2020-05-26 19:10:29 +01:00