diff --git a/src/core/core_test.go b/src/core/core_test.go index 9a2f230f..dd60af21 100644 --- a/src/core/core_test.go +++ b/src/core/core_test.go @@ -11,11 +11,12 @@ import ( "github.com/gologme/log" "github.com/yggdrasil-network/yggdrasil-go/src/config" + "github.com/yggdrasil-network/yggdrasil-go/src/defaults" ) // GenerateConfig produces default configuration with suitable modifications for tests. func GenerateConfig() *config.NodeConfig { - cfg := config.GenerateConfig() + cfg := defaults.GenerateConfig() cfg.AdminListen = "none" cfg.Listen = []string{"tcp://127.0.0.1:0"} cfg.IfName = "none"