Test fixes
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user