1
0

fix(migration): remove unused todoist parameters

This commit is contained in:
kolaente
2023-01-24 18:44:33 +01:00
parent 6a87d919fa
commit c59e006453
2 changed files with 19 additions and 31 deletions

View File

@ -215,38 +215,33 @@ func TestConvertTodoistToVikunja(t *testing.T) {
},
Notes: []*note{
{
ID: "101476",
PostedUID: 1855589,
ItemID: "400000000",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
ID: "101476",
ItemID: "400000000",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
},
{
ID: "101477",
PostedUID: 1855589,
ItemID: "400000001",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
ID: "101477",
ItemID: "400000001",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
},
{
ID: "101478",
PostedUID: 1855589,
ItemID: "400000003",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
ID: "101478",
ItemID: "400000003",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
},
{
ID: "101479",
PostedUID: 1855589,
ItemID: "400000010",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
ID: "101479",
ItemID: "400000010",
Content: "Lorem Ipsum dolor sit amet",
Posted: time1,
},
{
ID: "101480",
PostedUID: 1855589,
ItemID: "400000101",
Content: "Lorem Ipsum dolor sit amet",
ID: "101480",
ItemID: "400000101",
Content: "Lorem Ipsum dolor sit amet",
FileAttachment: &fileAttachment{
FileName: "file.md",
FileType: "text/plain",
@ -263,35 +258,30 @@ func TestConvertTodoistToVikunja(t *testing.T) {
Content: "Lorem Ipsum dolor sit amet",
ProjectID: "396936926",
Posted: time3,
PostedUID: 1855589,
},
{
ID: 102001,
Content: "Lorem Ipsum dolor sit amet 2",
ProjectID: "396936926",
Posted: time3,
PostedUID: 1855589,
},
{
ID: 102002,
Content: "Lorem Ipsum dolor sit amet 3",
ProjectID: "396936926",
Posted: time3,
PostedUID: 1855589,
},
{
ID: 102003,
Content: "Lorem Ipsum dolor sit amet 4",
ProjectID: "396936927",
Posted: time3,
PostedUID: 1855589,
},
{
ID: 102004,
Content: "Lorem Ipsum dolor sit amet 5",
ProjectID: "396936927",
Posted: time3,
PostedUID: 1855589,
},
},
Reminders: []*reminder{