1
0

fix: tests

This commit is contained in:
kolaente
2024-01-28 11:52:16 +01:00
parent 90ad975ca0
commit 1630e4fc08

View File

@ -102,7 +102,10 @@ func TestTaskComment_Delete(t *testing.T) {
s := db.NewSession()
defer s.Close()
tc := &TaskComment{ID: 1}
tc := &TaskComment{
ID: 1,
TaskID: 1,
}
err := tc.Delete(s, u)
require.NoError(t, err)
err = s.Commit()