mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 22:02:22 +08:00
backend plugins: improves logging
This commit is contained in:
@ -15,7 +15,7 @@ func TestPluginScans(t *testing.T) {
|
||||
Convey("When scaning for plugins", t, func() {
|
||||
setting.StaticRootPath, _ = filepath.Abs("../../public/")
|
||||
setting.Cfg = ini.Empty()
|
||||
err := Init(context.TODO())
|
||||
err := initPlugins(context.TODO())
|
||||
|
||||
So(err, ShouldBeNil)
|
||||
So(len(DataSources), ShouldBeGreaterThan, 1)
|
||||
@ -30,7 +30,7 @@ func TestPluginScans(t *testing.T) {
|
||||
setting.Cfg = ini.Empty()
|
||||
sec, _ := setting.Cfg.NewSection("plugin.nginx-app")
|
||||
sec.NewKey("path", "../../tests/test-app")
|
||||
err := Init(context.TODO())
|
||||
err := initPlugins(context.TODO())
|
||||
|
||||
So(err, ShouldBeNil)
|
||||
So(len(Apps), ShouldBeGreaterThan, 0)
|
||||
|
Reference in New Issue
Block a user