mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 04:32:30 +08:00
Plugins: fix test with bad symlink target (#35737)
This commit is contained in:
@ -412,9 +412,9 @@ func TestPluginManager_Init(t *testing.T) {
|
||||
})
|
||||
err := pm.Init()
|
||||
require.NoError(t, err)
|
||||
// This plugin should be properly registered, even though it is symlinked to prlugins dir
|
||||
// This plugin should be properly registered, even though it is symlinked to plugins dir
|
||||
require.Empty(t, pm.scanningErrors)
|
||||
const pluginID = "test"
|
||||
const pluginID = "test-app"
|
||||
assert.NotNil(t, pm.plugins[pluginID])
|
||||
})
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
../symbolic-file-links/plugin
|
||||
../includes-symlinks
|
Reference in New Issue
Block a user