Test changes

This commit is contained in:
phoenix
2026-01-01 13:56:51 -05:00
parent 59c9aa0ff1
commit 57619759d5
4 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func TestGetMessageWithMock(t *testing.T) {
mockstore := mock.NewMockMessageStore()
testUserId := uuid.New()
testCon := message.Message{Content: "Who is the one that benefits?", UserId: testUserId}
testCon := message.Message{Content: "Who is the one that benefits?", UserId: &testUserId}
ctx := t.Context()
if err := mockstore.CreateMessage(ctx, &testCon); err != nil {
assert.NoError(t, err, "Error creating message")