test: fix test suite to understand pkg/ directory
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2021-09-05 21:39:12 +02:00
parent b7742d5e18
commit d82f854ebd
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ package client_test
import ( import (
"testing" "testing"
"coopcloud.tech/abra/client" "coopcloud.tech/abra/pkg/client"
dContext "github.com/docker/cli/cli/context" dContext "github.com/docker/cli/cli/context"
dCliContextStore "github.com/docker/cli/cli/context/store" dCliContextStore "github.com/docker/cli/cli/context/store"
) )

View File

@ -8,8 +8,8 @@ import (
"testing" "testing"
) )
var testFolder = os.ExpandEnv("$PWD/../tests/resources/test_folder") var testFolder = os.ExpandEnv("$PWD/../../tests/resources/test_folder")
var validAbraConf = os.ExpandEnv("$PWD/../tests/resources/valid_abra_config") var validAbraConf = os.ExpandEnv("$PWD/../../tests/resources/valid_abra_config")
// make sure these are in alphabetical order // make sure these are in alphabetical order
var tFolders = []string{"folder1", "folder2"} var tFolders = []string{"folder1", "folder2"}