Advisor: Assert new fields (#100199)
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user