From 77ad90d53e7ceaf60055bcdcd64a4b0e5f9f0630 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 12 Jan 2023 15:04:59 +0100 Subject: [PATCH] fix(migration): remove wunderlist leftovers --- pkg/models/tasks_test.go | 10 +++++----- pkg/routes/routes.go | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/pkg/models/tasks_test.go b/pkg/models/tasks_test.go index fb712eb06..1ba138132 100644 --- a/pkg/models/tasks_test.go +++ b/pkg/models/tasks_test.go @@ -264,11 +264,11 @@ func TestTask_Update(t *testing.T) { assert.Equal(t, int64(1), task.BucketID) // Bucket should not be updated db.AssertExists(t, "tasks", map[string]interface{}{ - "id": 28, - "done": false, - "title": "test updated", - "list_id": 1, - "bucket_id": 1, + "id": 28, + "done": false, + "title": "test updated", + "project_id": 1, + "bucket_id": 1, }, false) }) t.Run("default bucket when moving a task between projects", func(t *testing.T) { diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index 5d05a85fe..5b11efe54 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -69,7 +69,6 @@ import ( "code.vikunja.io/api/pkg/modules/migration/todoist" "code.vikunja.io/api/pkg/modules/migration/trello" vikunja_file "code.vikunja.io/api/pkg/modules/migration/vikunja-file" - "code.vikunja.io/api/pkg/modules/migration/wunderlist" apiv1 "code.vikunja.io/api/pkg/routes/api/v1" "code.vikunja.io/api/pkg/routes/caldav" _ "code.vikunja.io/api/pkg/swagger" // To generate swagger docs