Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jun 10, 2022
1 parent 1679a6e commit 2ba7fdc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
7 changes: 2 additions & 5 deletions x/nft/client/testutil/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ import (
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"

"cosmossdk.io/core/appconfig"
"github.com/cosmos/cosmos-sdk/testutil/network"
"github.com/cosmos/cosmos-sdk/x/nft/testutil"
)

//go:embed app.yaml
var appConfig []byte

func TestIntegrationTestSuite(t *testing.T) {
cfg, err := network.DefaultConfigWithAppConfig(appconfig.LoadYAML(appConfig))
cfg, err := network.DefaultConfigWithAppConfig(testutil.AppConfig)
require.NoError(t, err)
cfg.NumValidators = 1
suite.Run(t, NewIntegrationTestSuite(cfg))
Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions x/nft/testutil/app_config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
package testutil

import (
_ "embed"

"cosmossdk.io/core/appconfig"
)

//go:embed app.yaml
var appConfig []byte

var AppConfig = appconfig.LoadYAML(appConfig)

0 comments on commit 2ba7fdc

Please sign in to comment.