Ghost/test
Naz 58b3c47781 Fixed broken notifications/setting acceptance tests
refs d9ddc2db6a
refs https://github.com/TryGhost/Team/issues/754

- The tests were written with falsy assumptions and validation added in refed commit have uncovered it!
-  A secondary issue touched here is additional JSON object serialization that is used in the  "input serializer" -d9ddc2db6a/core/server/api/v2/utils/serializers/input/settings.js (L107-L110)
- The additional stringification should not be there at all. It covers for a mistaken internal use of Settings API where raw objects are passed around instead of serialized JSON Objects (see commets left with this changeset for details)
2021-06-28 16:48:00 +04:00
..
api-acceptance Fixed broken notifications/setting acceptance tests 2021-06-28 16:48:00 +04:00
frontend-acceptance Updated monthly/yearly data in price helper (#13012) 2021-06-08 16:32:39 +05:30
regression Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
unit Added products_benefits table 2021-06-24 17:21:01 +01:00
utils Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00