Fixed shout and follow seeding

This commit is contained in:
Grzegorz Leoniec 2019-03-08 16:49:43 +01:00 committed by Robert Schäfer
parent 60d711bb0a
commit 2116936062

View File

@ -146,6 +146,26 @@ import Factory from './factories'
f.relate('Post', 'Tags', { from: 'p15', to: 't3' })
])
await Promise.all([
asAdmin
.shout({ id: 'p2', type: 'Post' }),
asAdmin
.shout({ id: 'p6', type: 'Post' }),
asModerator
.shout({ id: 'p0', type: 'Post' }),
asModerator
.shout({ id: 'p6', type: 'Post' }),
asUser
.shout({ id: 'p6', type: 'Post' }),
asUser
.shout({ id: 'p7', type: 'Post' }),
asTick
.shout({ id: 'p8', type: 'Post' }),
asTick
.shout({ id: 'p9', type: 'Post' }),
asTrack
.shout({ id: 'p10', type: 'Post' })
])
await Promise.all([
asAdmin
.shout({ id: 'p2', type: 'Post' }),