0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Updated utils for site endpoint response checks

refs 55dd16568b

- Fatfingered to add these files with a referenced commit
This commit is contained in:
Naz 2021-03-09 22:12:05 +13:00
parent 55dd16568b
commit a87d17e570
3 changed files with 6 additions and 0 deletions

View file

@ -19,6 +19,8 @@ const expectedProperties = {
themes: ['themes'],
members: ['members', 'meta'],
site: ['title', 'description', 'logo', 'icon', 'accent_color', 'url', 'version'],
post: _(schema.posts)
.keys()
.filter(key => key.indexOf('@@') === -1)

View file

@ -18,6 +18,8 @@ const expectedProperties = {
invites: ['invites', 'meta'],
themes: ['themes'],
site: ['title', 'url', 'version'],
post: _(schema.posts)
.keys()
.filter(key => key.indexOf('@@') === -1)

View file

@ -19,6 +19,8 @@ const expectedProperties = {
themes: ['themes'],
members: ['members', 'meta'],
site: ['title', 'description', 'logo', 'accent_color', 'url', 'version'],
post: _(schema.posts)
.keys()
.filter(key => key.indexOf('@@') === -1)