Ghost/ghost/core/test/e2e-api/content
Fabien "egg" O'Carroll f3f9e5a2f3 Moved serialisation of formats into the serialiser-layer
This prepares us to return a DTO rather than BookshelfModel to the serialiser
layer. When passing a BookshelfModel, the serialisation layer uses the model to
read from when building computed properties. By stripping values out in the
toJSON method it means that the DTO will be missing them and the computed
properties won't be able to be calculated. Instead we return ALL values to the
serialisation layer, and then strip out the ones that weren't requested in the
"clean" step.

This also inadvertently fixes the issue with `reading_time` requiring the
`html` field to be requested, we can now request just `reading_time`, as well
as have it included by default.
2023-06-16 09:17:47 +02:00
..
__snapshots__ Moved serialisation of formats into the serialiser-layer 2023-06-16 09:17:47 +02:00
authors.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
key_authentication.test.js Changed Content API caching to public 2022-09-26 14:54:50 +08:00
newsletters.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
offers.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
pages.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
posts.test.js Modified outbound link tagger to use ?ref=domain instead of ?ref=siteTitle (#16431) 2023-03-17 14:18:26 +05:30
settings.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
tags.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
tiers.test.js Tested filtering visibility in Tiers Content API 2023-05-19 13:12:33 -04:00
utils.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00