mirror of https://github.com/grafana/grafana.git
				
				
				
			Plugins: fix test with bad symlink target (#35737)
This commit is contained in:
		
							parent
							
								
									f4cc709d87
								
							
						
					
					
						commit
						adbb15a3a7
					
				|  | @ -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 | ||||||
		Loading…
	
		Reference in New Issue