fix(tasks): task relation test
This commit is contained in:
parent
091390c8ab
commit
5570e44c1b
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue