summaryrefslogtreecommitdiff
path: root/internal/handlers/handlers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/handlers/handlers_test.go')
-rw-r--r--internal/handlers/handlers_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/handlers/handlers_test.go b/internal/handlers/handlers_test.go
index 13973df..ac940bb 100644
--- a/internal/handlers/handlers_test.go
+++ b/internal/handlers/handlers_test.go
@@ -70,8 +70,8 @@ func (m *mockTodoistClient) GetTasks(ctx context.Context) ([]models.Task, error)
return m.tasks, nil
}
-func (m *mockTodoistClient) GetProjects(ctx context.Context) (map[string]string, error) {
- return map[string]string{}, nil
+func (m *mockTodoistClient) GetProjects(ctx context.Context) ([]models.Project, error) {
+ return []models.Project{}, nil
}
func (m *mockTodoistClient) CreateTask(ctx context.Context, content, projectID string, dueDate *time.Time, priority int) (*models.Task, error) {