Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jun 7, 2024
1 parent 1a7bcf0 commit bd6fcc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions marketplace/integration/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestMarketplace(t *testing.T) {
)),
))
gotList := listOutput.String()
require.True(strings.HasPrefix(gotList, "📦"), "unexpected output: %s", gotList)
require.True(strings.Contains(gotList, "marketplace :"), "unexpected output: %s", gotList)

infoOutput := &bytes.Buffer{}
env.Must(env.Exec("run marketplace info",
Expand All @@ -58,7 +58,7 @@ func TestMarketplace(t *testing.T) {
envtest.IgniteApp,
"marketplace",
"info",
"github.com/ignite/apps",
"explorer",
),
// all test outputs are going to the stdErr for no reason, but
// it's ok when we run the app. The output goes to stdout.
Expand All @@ -67,7 +67,7 @@ func TestMarketplace(t *testing.T) {
)),
))
gotInfo := infoOutput.String()
require.Contains(gotInfo, "Description:\tIgnite Apps")
require.Contains(gotInfo, "Description:\tEasy to use terminal chain explorer for testing your Ignite blockchains")
}

func assertGlobalPlugins(t *testing.T, expectedPlugins []pluginsconfig.Plugin) {
Expand Down

0 comments on commit bd6fcc2

Please sign in to comment.