fix audit log prefix for public dashboards (#53070)

This commit is contained in:
Jeff Levin
2022-08-01 14:46:48 -08:00
committed by GitHub
parent cc20f04860
commit b3f7deebda
4 changed files with 14 additions and 2 deletions
@@ -24,6 +24,10 @@ var DefaultTimeSettings, _ = simplejson.NewJson([]byte(`{}`))
// Default time to pass in with seconds rounded
var DefaultTime = time.Now().UTC().Round(time.Second)
func TestLogPrefix(t *testing.T) {
assert.Equal(t, LogPrefix, "publicdashboards.store")
}
func TestIntegrationGetDashboard(t *testing.T) {
var sqlStore *sqlstore.SQLStore
var dashboardStore *dashboardsDB.DashboardStore