mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
parent
04d0f855de
commit
e59806cb45
1 changed files with 3 additions and 0 deletions
|
@ -75,6 +75,7 @@ DataGenerator.Content = {
|
||||||
slug: 'static-page-test',
|
slug: 'static-page-test',
|
||||||
mobiledoc: DataGenerator.markdownToMobiledoc('<h1>Static page test is what this is for.</h1><p>Hopefully you don\'t find it a bore.</p>'),
|
mobiledoc: DataGenerator.markdownToMobiledoc('<h1>Static page test is what this is for.</h1><p>Hopefully you don\'t find it a bore.</p>'),
|
||||||
page: true
|
page: true
|
||||||
|
type: 'page'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: ObjectId.generate(),
|
id: ObjectId.generate(),
|
||||||
|
@ -82,6 +83,7 @@ DataGenerator.Content = {
|
||||||
slug: 'static-page-draft',
|
slug: 'static-page-draft',
|
||||||
mobiledoc: DataGenerator.markdownToMobiledoc('<h1>Static page test is what this is for.</h1><p>Hopefully you don\'t find it a bore.</p>'),
|
mobiledoc: DataGenerator.markdownToMobiledoc('<h1>Static page test is what this is for.</h1><p>Hopefully you don\'t find it a bore.</p>'),
|
||||||
page: true,
|
page: true,
|
||||||
|
type: 'page',
|
||||||
status: 'draft'
|
status: 'draft'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -469,6 +471,7 @@ DataGenerator.forKnex = (function () {
|
||||||
feature_image: null,
|
feature_image: null,
|
||||||
featured: false,
|
featured: false,
|
||||||
page: false,
|
page: false,
|
||||||
|
type: 'post',
|
||||||
slug: 'slug',
|
slug: 'slug',
|
||||||
author_id: DataGenerator.Content.users[0].id,
|
author_id: DataGenerator.Content.users[0].id,
|
||||||
updated_at: new Date(),
|
updated_at: new Date(),
|
||||||
|
|
Loading…
Add table
Reference in a new issue