1
0

Fix the shared lists pseudo namespace containing owned lists

This commit is contained in:
kolaente
2021-01-31 13:09:14 +01:00
parent 6bdc1fdb0d
commit 2d283b78c2
3 changed files with 21 additions and 5 deletions

View File

@ -142,8 +142,11 @@ func TestTaskCollection_ReadAll(t *testing.T) {
label4,
},
RelatedTasks: map[RelationKind][]*Task{},
Created: time.Unix(1543626724, 0).In(loc),
Updated: time.Unix(1543626724, 0).In(loc),
Reminders: []time.Time{
time.Unix(1543626824, 0).In(loc),
},
Created: time.Unix(1543626724, 0).In(loc),
Updated: time.Unix(1543626724, 0).In(loc),
}
task3 := &Task{
ID: 3,
@ -883,6 +886,7 @@ func TestTaskCollection_ReadAll(t *testing.T) {
},
args: defaultArgs,
want: []*Task{
task2,
task27,
},
wantErr: false,