[MNG-6149] MetadataResolutionResult#getGraph() never resolves request type 'test'

This commit is contained in:
Michael Osipov 2017-04-21 22:57:53 +02:00
parent 3938817fd3
commit f7d4bce233
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class MetadataResolutionResult
{
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.runtime );
}
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.classpathRuntime ) )
else if ( requestType.equals( MetadataResolutionRequestTypeEnum.classpathTest ) )
{
return conflictResolver.resolveConflicts( getGraph(), ArtifactScopeEnum.test );
}