diff --git a/x/nft/client/testutil/cli_test.go b/x/nft/client/testutil/cli_test.go index 141e3fdacd62..12544d34a846 100644 --- a/x/nft/client/testutil/cli_test.go +++ b/x/nft/client/testutil/cli_test.go @@ -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)) diff --git a/x/nft/client/testutil/app.yaml b/x/nft/testutil/app.yaml similarity index 100% rename from x/nft/client/testutil/app.yaml rename to x/nft/testutil/app.yaml diff --git a/x/nft/testutil/app_config.go b/x/nft/testutil/app_config.go new file mode 100644 index 000000000000..1f01697aa019 --- /dev/null +++ b/x/nft/testutil/app_config.go @@ -0,0 +1,12 @@ +package testutil + +import ( + _ "embed" + + "cosmossdk.io/core/appconfig" +) + +//go:embed app.yaml +var appConfig []byte + +var AppConfig = appconfig.LoadYAML(appConfig)