mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 00:41:08 +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()
|
err := pm.Init()
|
||||||
require.NoError(t, err)
|
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)
|
require.Empty(t, pm.scanningErrors)
|
||||||
const pluginID = "test"
|
const pluginID = "test-app"
|
||||||
assert.NotNil(t, pm.plugins[pluginID])
|
assert.NotNil(t, pm.plugins[pluginID])
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
../symbolic-file-links/plugin
|
../includes-symlinks
|
Reference in New Issue
Block a user