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:
parent
3eb4427888
commit
85d83b4f08
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ const expectedProperties = {
|
||||||
// and always returns computed properties: url, primary_tag, primary_author
|
// and always returns computed properties: url, primary_tag, primary_author
|
||||||
.concat('url', 'primary_tag', 'primary_author')
|
.concat('url', 'primary_tag', 'primary_author')
|
||||||
// canary API doesn't return unused fields
|
// canary API doesn't return unused fields
|
||||||
.without('locale', 'visibility')
|
.without('locale')
|
||||||
// These fields aren't useful as they always have known values
|
// These fields aren't useful as they always have known values
|
||||||
.without('status')
|
.without('status')
|
||||||
// @TODO: https://github.com/TryGhost/Ghost/issues/10335
|
// @TODO: https://github.com/TryGhost/Ghost/issues/10335
|
||||||
|
|
Loading…
Add table
Reference in a new issue