diff --git a/plugins/maven/src/test/java/org/jetbrains/idea/maven/execution/MavenClasspathsAndSearchScopesTest.java b/plugins/maven/src/test/java/org/jetbrains/idea/maven/execution/MavenClasspathsAndSearchScopesTest.java
index 6210feddf3da..a7de775b9492 100644
--- a/plugins/maven/src/test/java/org/jetbrains/idea/maven/execution/MavenClasspathsAndSearchScopesTest.java
+++ b/plugins/maven/src/test/java/org/jetbrains/idea/maven/execution/MavenClasspathsAndSearchScopesTest.java
@@ -781,6 +781,7 @@ public class MavenClasspathsAndSearchScopesTest extends MavenImportingTestCase {
iof2.mkdirs();
VirtualFile f1 = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(iof1);
VirtualFile f2 = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(iof2);
+ VirtualFile f3 = createProjectSubDir("m1/foo/bar3");
VirtualFile m1 = createModulePom("m1", "test" +
"m1" +
@@ -804,6 +805,7 @@ public class MavenClasspathsAndSearchScopesTest extends MavenImportingTestCase {
" " +
" " + f1.getPath() + "" +
" " + f2.getPath() + "" +
+ " ${project.basedir}/foo/bar3" +
" " +
" " +
" " +
@@ -832,7 +834,8 @@ public class MavenClasspathsAndSearchScopesTest extends MavenImportingTestCase {
getProjectPath() + "/m1/src/test/java",
getRepositoryPath() + "/junit/junit/4.0/junit-4.0.jar",
f1.getPath(),
- f2.getPath());
+ f2.getPath(),
+ f3.getPath());
assertAllProductionClasspath("m1",
getProjectPath() + "/m1/target/classes",
@@ -842,7 +845,8 @@ public class MavenClasspathsAndSearchScopesTest extends MavenImportingTestCase {
getProjectPath() + "/m1/target/classes",
getRepositoryPath() + "/junit/junit/4.0/junit-4.0.jar",
f1.getPath(),
- f2.getPath());
+ f2.getPath(),
+ f3.getPath());
}
public void testDoNotChangeClasspathForRegularModules() throws Exception {