mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 11:11:47 +08:00
Backend: Migrate to using non-global configuration (#31856)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@ -26,7 +26,8 @@ func TestFrontendPlugin(t *testing.T) {
|
||||
},
|
||||
},
|
||||
}
|
||||
fp.setPathsBasedOnApp(app)
|
||||
cfg := setting.NewCfg()
|
||||
fp.setPathsBasedOnApp(app, cfg)
|
||||
|
||||
So(fp.Module, ShouldEqual, "app/plugins/app/testdata/datasources/datasource/module")
|
||||
})
|
||||
|
Reference in New Issue
Block a user