Skip to content

Commit

Permalink
Plugins: fix test with bad symlink target (grafana#35737)
Browse files Browse the repository at this point in the history
  • Loading branch information
wbrowne authored Jun 15, 2021
1 parent f4cc709 commit adbb15a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/plugins/manager/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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])
})
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/plugins/manager/testdata/symbolic-plugin-dirs/plugin

0 comments on commit adbb15a

Please sign in to comment.