Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix tests

Stevene5f244cb5059
diff --git a/test/store/reaction_test.go b/test/store/reaction_test.go
index ceac828d3..3e3b1e2f5 100644
--- a/test/store/reaction_test.go
+++ b/test/store/reaction_test.go
@@ -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,