mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: fix tests
This commit is contained in:
@@ -18,7 +18,7 @@ func TestReactionStore(t *testing.T) {
|
|||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
contentID := "test_content_id"
|
contentID := "test_content_id"
|
||||||
reaction, err := ts.CreateReaction(ctx, &storepb.Reaction{
|
reaction, err := ts.UpsertReaction(ctx, &storepb.Reaction{
|
||||||
CreatorId: user.ID,
|
CreatorId: user.ID,
|
||||||
ContentId: contentID,
|
ContentId: contentID,
|
||||||
ReactionType: storepb.Reaction_HEART,
|
ReactionType: storepb.Reaction_HEART,
|
||||||
|
Reference in New Issue
Block a user