fix: trello import tests

This commit is contained in:
kolaente 2022-11-13 21:10:05 +01:00
parent fb818ea186
commit 61a3380a94
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ func TestConvertTrelloToVikunja(t *testing.T) {
Name: "TestBoard", Name: "TestBoard",
Desc: "This is a description", Desc: "This is a description",
Closed: false, Closed: false,
Projects: []*trello.Project{ Lists: []*trello.List{
{ {
Name: "Test Project 1", Name: "Test Project 1",
Cards: []*trello.Card{ Cards: []*trello.Card{
@ -77,7 +77,7 @@ func TestConvertTrelloToVikunja(t *testing.T) {
{ {
Name: "Test Card 2", Name: "Test Card 2",
Pos: 124, Pos: 124,
Checkprojects: []*trello.Checkproject{ Checklists: []*trello.Checklist{
{ {
Name: "Checkproject 1", Name: "Checkproject 1",
CheckItems: []trello.CheckItem{ CheckItems: []trello.CheckItem{
@ -157,7 +157,7 @@ func TestConvertTrelloToVikunja(t *testing.T) {
{ {
Name: "TestBoard 2", Name: "TestBoard 2",
Closed: false, Closed: false,
Projects: []*trello.Project{ Lists: []*trello.List{
{ {
Name: "Test Project 4", Name: "Test Project 4",
Cards: []*trello.Card{ Cards: []*trello.Card{
@ -172,7 +172,7 @@ func TestConvertTrelloToVikunja(t *testing.T) {
{ {
Name: "TestBoard Archived", Name: "TestBoard Archived",
Closed: true, Closed: true,
Projects: []*trello.Project{ Lists: []*trello.List{
{ {
Name: "Test Project 5", Name: "Test Project 5",
Cards: []*trello.Card{ Cards: []*trello.Card{