forked from cerc-io/ipld-eth-server
Automates DB reset and migrations when unit and integration tests are run
This commit is contained in:
@@ -44,7 +44,7 @@ func init() {
|
||||
|
||||
func setTestConfig() {
|
||||
TestConfig = viper.New()
|
||||
TestConfig.SetConfigName("private")
|
||||
TestConfig.SetConfigName("testing")
|
||||
TestConfig.AddConfigPath("$GOPATH/src/github.com/vulcanize/vulcanizedb/environments/")
|
||||
err := TestConfig.ReadInConfig()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user