o Fixed test stub to be more realistic

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@801613 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2009-08-06 11:48:17 +00:00
parent cbfc593e6e
commit d725bd9238
1 changed files with 3 additions and 1 deletions

View File

@ -35,7 +35,9 @@ public class TestProjectBuilder
}
if ( artifact.getFile() == null )
{
return new MavenProject();
MavenProject project = new MavenProject();
project.setArtifact( artifact );
return project;
}
return build( artifact.getFile(), request );
}