Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomasz Pasternak committed Dec 12, 2024
1 parent 785a472 commit 2eb155e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.google.idea.blaze.base.lang.buildfile.psi.BuildFile;
import com.google.idea.blaze.base.model.BlazeProjectData;
import com.google.idea.blaze.base.model.ExternalWorkspaceData;
import com.google.idea.blaze.base.model.ExternalWorkspaceDataManager;
import com.google.idea.blaze.base.model.MockBlazeProjectDataBuilder;
import com.google.idea.blaze.base.model.MockBlazeProjectDataManager;
import com.google.idea.blaze.base.model.primitives.ExternalWorkspace;
Expand Down Expand Up @@ -50,8 +51,9 @@ public final void doSetup() {
new MockBlazeProjectDataManager(
MockBlazeProjectDataBuilder.builder(workspaceRoot)
.setOutputBase(fileSystem.getRootDir() + "/output_base")
.setExternalWorkspaceData(mockExternalWorkspaceData())
// .setExternalWorkspaceData(mockExternalWorkspaceData())
.build());
ExternalWorkspaceDataManager.getInstance(getProject()).setData(mockExternalWorkspaceData());
registerProjectService(BlazeProjectDataManager.class, mockProjectDataManager);
registerProjectService(ProjectViewManager.class, new MockProjectViewManager());
editorTest = new EditorTestHelper(getProject(), testFixture);
Expand Down

0 comments on commit 2eb155e

Please sign in to comment.