|
|
|
|
@ -60,14 +60,14 @@ namespace Volo.CmsKit.Reactions
|
|
|
|
|
await _reactionPublicAppService.CreateAsync(
|
|
|
|
|
_cmsKitTestData.EntityType2,
|
|
|
|
|
_cmsKitTestData.EntityId2,
|
|
|
|
|
StandardReactions.ThumbsUp
|
|
|
|
|
StandardReactions.Eyes
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
UsingDbContext(context =>
|
|
|
|
|
{
|
|
|
|
|
var reaction = context.Set<UserReaction>().FirstOrDefault(x =>
|
|
|
|
|
x.CreatorId == _cmsKitTestData.User1Id &&
|
|
|
|
|
x.ReactionName == StandardReactions.ThumbsUp &&
|
|
|
|
|
x.ReactionName == StandardReactions.Eyes &&
|
|
|
|
|
x.EntityId == _cmsKitTestData.EntityId2 &&
|
|
|
|
|
x.EntityType == _cmsKitTestData.EntityType2);
|
|
|
|
|
|
|
|
|
|
|