Backend: Migrate to using non-global configuration (#31856)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
1 parent
bac1721546
commit
47f13abf7a
19 files changed
+241
-260
No files matched your search
@@ -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