From ae33d4903657a2b08a9e7ca74b5f4f14edf69b20 Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Thu, 6 Feb 2025 15:29:54 +0100 Subject: [PATCH] Advisor: Assert new fields (#100199) --- apps/advisor/pkg/app/checks/plugincheck/check_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/advisor/pkg/app/checks/plugincheck/check_test.go b/apps/advisor/pkg/app/checks/plugincheck/check_test.go index 53450ce7bc5..29dc7ccaabd 100644 --- a/apps/advisor/pkg/app/checks/plugincheck/check_test.go +++ b/apps/advisor/pkg/app/checks/plugincheck/check_test.go @@ -44,6 +44,8 @@ func TestRun(t *testing.T) { Severity: advisor.CheckReportErrorSeverityHigh, Reason: "Plugin deprecated: plugin1", Action: "Check the documentation for recommended steps.", + StepID: "deprecation", + ItemID: "plugin1", }, }, }, @@ -63,6 +65,8 @@ func TestRun(t *testing.T) { Severity: advisor.CheckReportErrorSeverityLow, Reason: "New version available for plugin2", Action: "Go to the plugin admin page and upgrade to the latest version.", + StepID: "update", + ItemID: "plugin2", }, }, }, @@ -82,6 +86,8 @@ func TestRun(t *testing.T) { Severity: advisor.CheckReportErrorSeverityLow, Reason: "New version available for plugin2", Action: "Go to the plugin admin page and upgrade to the latest version.", + StepID: "update", + ItemID: "plugin2", }, }, },