Plugins: fix test with bad symlink target (#35737)

This commit is contained in:
Will Browne 2021-06-15 13:53:09 +02:00 committed by GitHub
parent f4cc709d87
commit adbb15a3a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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])
})
}

View File

@ -1 +1 @@
../symbolic-file-links/plugin
../includes-symlinks