Fix tests for background images
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2020-12-17 12:49:44 +01:00
parent f5c249f3bb
commit 87d8f1cfc0
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@
package trello package trello
import ( import (
"bytes"
"io/ioutil" "io/ioutil"
"testing" "testing"
"time" "time"
@ -193,8 +194,9 @@ func TestConvertTrelloToVikunja(t *testing.T) {
}, },
Lists: []*models.List{ Lists: []*models.List{
{ {
Title: "TestBoard", Title: "TestBoard",
Description: "This is a description", Description: "This is a description",
BackgroundInformation: bytes.NewBuffer(exampleFile),
Buckets: []*models.Bucket{ Buckets: []*models.Bucket{
{ {
ID: 1, ID: 1,