Add data-mention-id to seeds mentions

This commit is contained in:
Matt Rider 2019-08-08 10:07:57 +02:00
parent 1a21884081
commit b6975bde89

View File

@ -294,9 +294,10 @@ import Factory from './factories'
}), }),
]) ])
const mention1 = 'Hey <a class="mention" href="/profile/u3">@jenny-rostock</a>, what\'s up?' const mention1 =
'Hey <a class="mention" data-mention-id="u3" href="/profile/u3">@jenny-rostock</a>, what\'s up?'
const mention2 = const mention2 =
'Hey <a class="mention" href="/profile/u3">@jenny-rostock</a>, here is another notification for you!' 'Hey <a class="mention" data-mention-id="u3" href="/profile/u3">@jenny-rostock</a>, here is another notification for you!'
await Promise.all([ await Promise.all([
asAdmin.create('Post', { asAdmin.create('Post', {