Commit e5f244cb authored by Steven's avatar Steven

chore: fix tests

parent 3a5bc82d
...@@ -18,7 +18,7 @@ func TestReactionStore(t *testing.T) { ...@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment