Fixed regression test for page property

no-issue

We have to manually add the page property since the schema no longer
includes it
This commit is contained in:
Fabien O'Carroll 2019-10-16 15:32:50 +07:00
parent 9a3bd55886
commit 38a05c0393

View File

@ -23,8 +23,7 @@ const expectedProperties = {
.without('locale', 'visibility')
// These fields aren't useful as they always have known values
.without('status')
// @TODO: https://github.com/TryGhost/Ghost/issues/10335
// .without('page')
.concat('page')
.without('type')
// v2 returns a calculated excerpt field
.concat('excerpt')