Compare commits

..

1 Commits

Author SHA1 Message Date
Elscrux de31ffa899 Make function private and give it a more descriptive name
continuous-integration/drone/pr Build is failing Details
2024-03-29 19:20:48 +01:00
1 changed files with 3 additions and 3 deletions

View File

@ -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{