From fbe953809ca8557f20d6d92879d56e581b30a411 Mon Sep 17 00:00:00 2001 From: Ehsan-saradar Date: Wed, 7 Feb 2024 12:34:13 +0330 Subject: [PATCH] Update unit tests --- examples/health-monitor/integration/app_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/health-monitor/integration/app_test.go b/examples/health-monitor/integration/app_test.go index 8caac3d8..fcc765ee 100644 --- a/examples/health-monitor/integration/app_test.go +++ b/examples/health-monitor/integration/app_test.go @@ -76,12 +76,14 @@ func TestHealthMonitor(t *testing.T) { } func assertLocalPlugins(t *testing.T, app envtest.App, expectedPlugins []pluginsconfig.Plugin) { + t.Helper() cfg, err := pluginsconfig.ParseDir(app.SourcePath()) require.NoError(t, err) require.ElementsMatch(t, expectedPlugins, cfg.Apps, "unexpected local apps") } func assertGlobalPlugins(t *testing.T, app envtest.App, expectedPlugins []pluginsconfig.Plugin) { + t.Helper() cfgPath, err := plugin.PluginsPath() require.NoError(t, err) cfg, err := pluginsconfig.ParseDir(cfgPath)