Commit 38d67cd1 authored by vipwzw's avatar vipwzw

auto ci

parent 64ae3c14
...@@ -12,10 +12,10 @@ import ( ...@@ -12,10 +12,10 @@ import (
"github.com/stretchr/testify/mock" "github.com/stretchr/testify/mock"
"github.com/33cn/chain33/util/testnode"
wcom "github.com/33cn/chain33/wallet/common" wcom "github.com/33cn/chain33/wallet/common"
ty "github.com/33cn/plugin/plugin/dapp/ticket/types" ty "github.com/33cn/plugin/plugin/dapp/ticket/types"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/33cn/chain33/util/testnode"
_ "github.com/33cn/chain33/system" _ "github.com/33cn/chain33/system"
"github.com/33cn/chain33/types" "github.com/33cn/chain33/types"
...@@ -30,8 +30,7 @@ const ( ...@@ -30,8 +30,7 @@ const (
sendhash = "sendhash" sendhash = "sendhash"
) )
func TestMain(m *testing.M) {
func TestMain(m *testing.M) {
cfg, _ := testnode.GetDefaultConfig() cfg, _ := testnode.GetDefaultConfig()
cfg.Consensus.Name = "ticket" cfg.Consensus.Name = "ticket"
types.Init(cfg.Title, cfg) types.Init(cfg.Title, cfg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment