Compare commits
1 Commits
15b1c3e097
...
de31ffa899
Author | SHA1 | Date |
---|---|---|
Elscrux | de31ffa899 |
|
@ -32,7 +32,7 @@ import (
|
|||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
func getBoard(t *testing.T) ([]*trello.Board, time.Time) {
|
||||
func getTestBoard(t *testing.T) ([]*trello.Board, time.Time) {
|
||||
|
||||
config.InitConfig()
|
||||
|
||||
|
@ -217,7 +217,7 @@ func getBoard(t *testing.T) ([]*trello.Board, time.Time) {
|
|||
}
|
||||
|
||||
func TestConvertTrelloToVikunja(t *testing.T) {
|
||||
trelloData, time1 := getBoard(t)
|
||||
trelloData, time1 := getTestBoard(t)
|
||||
|
||||
exampleFile, err := os.ReadFile(config.ServiceRootpath.GetString() + "/pkg/modules/migration/testimage.jpg")
|
||||
require.NoError(t, err)
|
||||
|
@ -422,7 +422,7 @@ func TestConvertTrelloToVikunja(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestCreateOrganizationMap(t *testing.T) {
|
||||
trelloData, _ := getBoard(t)
|
||||
trelloData, _ := getTestBoard(t)
|
||||
|
||||
organizationMap := createOrganizationMap(trelloData)
|
||||
expectedMap := map[string][]*trello.Board{
|
||||
|
|
Loading…
Reference in New Issue