Chore: Refactor short url api test (#35051)
Use a mock of the short URL service rather than real one which requires database access. Ref #34696
This commit is contained in:
@@ -93,7 +93,7 @@ type HTTPServer struct {
|
||||
PluginRequestValidator models.PluginRequestValidator `inject:""`
|
||||
PluginManager plugins.Manager `inject:""`
|
||||
SearchService *search.SearchService `inject:""`
|
||||
ShortURLService *shorturls.ShortURLService `inject:""`
|
||||
ShortURLService shorturls.Service `inject:""`
|
||||
Live *live.GrafanaLive `inject:""`
|
||||
LivePushGateway *pushhttp.Gateway `inject:""`
|
||||
ContextHandler *contexthandler.ContextHandler `inject:""`
|
||||
|
||||
Reference in New Issue
Block a user