mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
remove TestBypass flag (#566)
Tests should explicitly state their target configuration file, so no need to use fallback default override flag
This commit is contained in:
@@ -5,7 +5,6 @@ import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/thrasher-corp/gocryptotrader/config"
|
||||
"github.com/thrasher-corp/gocryptotrader/core"
|
||||
"github.com/urfave/cli/v2"
|
||||
)
|
||||
@@ -36,7 +35,6 @@ var (
|
||||
)
|
||||
|
||||
func TestLoad(t *testing.T) {
|
||||
config.TestBypass = true
|
||||
fs := &flag.FlagSet{}
|
||||
fs.String("config", testConfig, "")
|
||||
newCtx := cli.NewContext(testApp, fs, &cli.Context{})
|
||||
|
||||
Reference in New Issue
Block a user