1
0

fix(tasks): task relation test

This commit is contained in:
kolaente 2023-01-12 15:31:30 +01:00
parent 6bb42ced9d
commit 19f69419f7
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B

View File

@ -157,7 +157,7 @@ func TestTaskRelation_CanCreate(t *testing.T) {
rel := TaskRelation{ rel := TaskRelation{
TaskID: 1, TaskID: 1,
OtherTaskID: 13, OtherTaskID: 32,
RelationKind: RelationKindSubtask, RelationKind: RelationKindSubtask,
} }
can, err := rel.CanCreate(s, &user.User{ID: 1}) can, err := rel.CanCreate(s, &user.User{ID: 1})