Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danil-lashin committed May 8, 2022
1 parent f270389 commit 8e4cdc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions auto-tests/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ func main() {
stopProcess("mhub-minter-connector")

genesis := runOrPanic(os.ExpandEnv("mhub2 export"))
genesis = strings.ReplaceAll(genesis, "mhub-test", "mhub-test-2")
os.WriteFile(os.ExpandEnv("$HOME/.mhub2/config/genesis.json"), []byte(genesis), os.ModePerm)
runOrPanic(os.ExpandEnv("rm -rf $HOME/.mhub2/data"))
runOrPanic(os.ExpandEnv("mkdir $HOME/.mhub2/data"))
Expand Down

0 comments on commit 8e4cdc2

Please sign in to comment.