Ghost/ghost/core/test
Michael Barrett 636c916715
Fixed leaking pivot fields (#17142)
fixes https://github.com/TryGhost/Team/issues/2657

The `omitPivot` option does not have an affect on a models
`_previousAttributes`. When we serialise a model and want to retrieve
the previous attributes we need to ensure we manually remove the pivot
fields

See
7704fbc5e8/lib/base/model.js (L512)
2023-06-28 13:16:50 +01:00
..
e2e-api Fixed date filtering in collections 2023-06-27 12:52:10 +07:00
e2e-browser Fixed @tryghost/mailgun-client import 2023-05-09 13:00:18 -04:00
e2e-frontend Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
e2e-server Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
e2e-webhooks Fixed leaking pivot fields (#17142) 2023-06-28 13:16:50 +01:00
integration Added bulkEmail.batchSize option to configure batch size 2023-06-26 12:57:44 +02:00
regression Removed Bluebird from tests 2023-06-23 10:03:03 +02:00
unit Added tables to persist Collections 2023-06-23 16:11:55 +02:00
utils Removed Bluebird from tests 2023-06-23 10:03:03 +02:00
.eslintignore Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00