chore: fix tests

This commit is contained in:
Steven 2024-02-08 11:58:23 +08:00
parent 3a5bc82d39
commit e5f244cb50

View File

@ -18,7 +18,7 @@ func TestReactionStore(t *testing.T) {
require.NoError(t, err)
contentID := "test_content_id"
reaction, err := ts.CreateReaction(ctx, &storepb.Reaction{
reaction, err := ts.UpsertReaction(ctx, &storepb.Reaction{
CreatorId: user.ID,
ContentId: contentID,
ReactionType: storepb.Reaction_HEART,