diff --git a/pkg/models/list_task_readall_test.go b/pkg/models/list_task_readall_test.go index ca3bcb3ed..5f6e1f102 100644 --- a/pkg/models/list_task_readall_test.go +++ b/pkg/models/list_task_readall_test.go @@ -245,6 +245,15 @@ func sortTasksForTesting(by SortBy) (tasks []*ListTask) { Created: 1543626724, Updated: 1543626724, }, + { + ID: 31, + Text: "task #31 with color", + HexColor: "f0f0f0", + CreatedByID: 1, + ListID: 1, + Created: 1543626724, + Updated: 1543626724, + }, } switch by { @@ -553,6 +562,15 @@ func TestListTask_ReadAll(t *testing.T) { Created: 1543626724, Updated: 1543626724, }, + { + ID: 31, + Text: "task #31 with color", + HexColor: "f0f0f0", + CreatedByID: 1, + ListID: 1, + Created: 1543626724, + Updated: 1543626724, + }, { ID: 4, Text: "task #4 low prio", @@ -826,6 +844,15 @@ func TestListTask_ReadAll(t *testing.T) { Created: 1543626724, Updated: 1543626724, }, + { + ID: 31, + Text: "task #31 with color", + HexColor: "f0f0f0", + CreatedByID: 1, + ListID: 1, + Created: 1543626724, + Updated: 1543626724, + }, }, wantErr: false, }, @@ -1050,6 +1077,15 @@ func TestListTask_ReadAll(t *testing.T) { Created: 1543626724, Updated: 1543626724, }, + { + ID: 31, + Text: "task #31 with color", + HexColor: "f0f0f0", + CreatedByID: 1, + ListID: 1, + Created: 1543626724, + Updated: 1543626724, + }, { ID: 6, Text: "task #6 lower due date",