0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00

Fixed regression test for canary content api

no-issue

We now return the visibility field on the content api
This commit is contained in:
Fabien O'Carroll 2019-10-11 14:14:46 +07:00
parent 3eb4427888
commit 85d83b4f08

View file

@ -20,7 +20,7 @@ const expectedProperties = {
// and always returns computed properties: url, primary_tag, primary_author
.concat('url', 'primary_tag', 'primary_author')
// canary API doesn't return unused fields
.without('locale', 'visibility')
.without('locale')
// These fields aren't useful as they always have known values
.without('status')
// @TODO: https://github.com/TryGhost/Ghost/issues/10335