Make getBoard private
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
Elscrux 2024-03-29 19:18:16 +01:00
parent 91982d9d8a
commit 15b1c3e097
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 getBoard(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 := getBoard(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, _ := getBoard(t)
organizationMap := createOrganizationMap(trelloData)
expectedMap := map[string][]*trello.Board{