diff --git a/cpp/tests/unittests/com/google/idea/blaze/cpp/BlazeConfigurationResolverTest.java b/cpp/tests/unittests/com/google/idea/blaze/cpp/BlazeConfigurationResolverTest.java index fc479a858c6..18d35440897 100644 --- a/cpp/tests/unittests/com/google/idea/blaze/cpp/BlazeConfigurationResolverTest.java +++ b/cpp/tests/unittests/com/google/idea/blaze/cpp/BlazeConfigurationResolverTest.java @@ -825,7 +825,7 @@ public void testExternalDependencyResolvedWhenIsPartOfProject() throws IOExcepti "//:toolchain")) .build(); - File externalRoot = WorkspaceHelper.getExternalSourceRoot( + File externalRoot = WorkspaceHelper.getExternalSourceRoot(project, BlazeProjectDataManager.getInstance(project).getBlazeProjectData()).toFile(); File spyExternalDependencyRoot = spy(new File(externalRoot, "external_dependency"));