fix: tests
continuous-integration/drone/push Build is failing Details

This commit is contained in:
kolaente 2024-01-28 11:52:16 +01:00
parent 90ad975ca0
commit 1630e4fc08
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 1 deletions

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()