Test fixes

This commit is contained in:
phoenix
2025-12-22 17:52:45 -05:00
parent fb17c02f69
commit 14f50a118f
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ func TestGetContactWithMock(t *testing.T) {
mockstore := mock.NewMockContactStore()
testUserId := uuid.New()
testCon := contact.Contact{PhoneNumber: "+12335403383", UserId: testUserId}
testCon := contact.Contact{PhoneNumber: "+12335403383", UserId: &testUserId}
ctx := t.Context()
if err := mockstore.CreateContact(ctx, &testCon); err != nil {
assert.NoError(t, err, "Error creating contact")