IDEA-25332 spring: also recognize classes with scope != compile

This commit is contained in:
Dmitry Avdeev
2011-02-07 16:13:11 +03:00
parent c9d8e824c7
commit 9c6a056fa0
@@ -63,6 +63,6 @@ public abstract class ClassValueConverter extends Converter<PsiClass> implements
}
final boolean inTests = ProjectRootManager.getInstance(project).getFileIndex().isInTestSourceContent(file);
return module.getModuleWithDependenciesAndLibrariesScope(inTests);
return module.getModuleRuntimeScope(inTests);
}
}