From 29cf852e8db4d72e411ada99dd1bc18359d6efa4 Mon Sep 17 00:00:00 2001 From: Danilo Pantani Date: Tue, 6 Aug 2024 13:48:42 +0200 Subject: [PATCH] remove redundancy hermes install for integration tests --- hermes/integration/app_test.go | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/hermes/integration/app_test.go b/hermes/integration/app_test.go index 4590545..49dbea4 100644 --- a/hermes/integration/app_test.go +++ b/hermes/integration/app_test.go @@ -285,12 +285,13 @@ func TestCustomIBCTx(t *testing.T) { require.NoError(t, err) pluginPath := filepath.Join(filepath.Dir(filepath.Dir(dir)), "hermes") - env.Must(env.Exec("install hermes app locally", - step.NewSteps(step.New( - step.Exec(envtest.IgniteApp, "app", "install", pluginPath), - step.Workdir(app.SourcePath()), - )), - )) + // We don't need to install Hermes again since it's a builtin extension. + // env.Must(env.Exec("install hermes app locally", + // step.NewSteps(step.New( + // step.Exec(envtest.IgniteApp, "app", "install", pluginPath), + // step.Workdir(app.SourcePath()), + // )), + // )) // One local plugin expected assertLocalPlugins(t, app, []pluginsconfig.Plugin{{Path: pluginPath}}) @@ -630,12 +631,13 @@ func TestTransferIBCTx(t *testing.T) { require.NoError(t, err) pluginPath := filepath.Join(filepath.Dir(filepath.Dir(dir)), "hermes") - env.Must(env.Exec("install hermes app locally", - step.NewSteps(step.New( - step.Exec(envtest.IgniteApp, "app", "install", pluginPath), - step.Workdir(app.SourcePath()), - )), - )) + // We don't need to install Hermes again since it's a builtin extension. + // env.Must(env.Exec("install hermes app locally", + // step.NewSteps(step.New( + // step.Exec(envtest.IgniteApp, "app", "install", pluginPath), + // step.Workdir(app.SourcePath()), + // )), + // )) // One local plugin expected assertLocalPlugins(t, app, []pluginsconfig.Plugin{{Path: pluginPath}})