feat(filter): more tests

This commit is contained in:
kolaente 2023-11-21 18:40:13 +01:00
parent 9624cc9e97
commit e43349618b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 12 additions and 0 deletions

View File

@ -827,6 +827,18 @@ func TestTaskCollection_ReadAll(t *testing.T) {
want: []*Task{},
wantErr: false,
},
{
name: "ReadAll Tasks with range with start date only between",
fields: fields{
Filter: "start_date > '2018-12-12T00:00:00+00:00' && start_date < '2018-12-13T00:00:00+00:00'",
},
args: defaultArgs,
want: []*Task{
task7,
task9,
},
wantErr: false,
},
{
name: "ReadAll Tasks with range with start date only and greater equals",
fields: fields{