Advisor: Assert new fields (#100199)

pull/100197/head^2
Mariell Hoversholm 5 months ago committed by GitHub
parent d3ce9e1fe2
commit ae33d49036
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      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 <a href='https://grafana.com/legal/plugin-deprecation/#a-plugin-i-use-is-deprecated-what-should-i-do' target=_blank>documentation</a> 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 <a href='/plugins/plugin2?page=version-history'>plugin admin page</a> 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 <a href='/plugins/plugin2?page=version-history'>plugin admin page</a> and upgrade to the latest version.",
StepID: "update",
ItemID: "plugin2",
},
},
},

Loading…
Cancel
Save