diff --git a/platform/testFramework/src/com/intellij/testFramework/fixtures/EditorTestFixture.java b/platform/testFramework/src/com/intellij/testFramework/fixtures/EditorTestFixture.java index 07f987ff7543..4844d28b8399 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/EditorTestFixture.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/EditorTestFixture.java @@ -274,7 +274,7 @@ public class EditorTestFixture { assertNotNull(lookup); lookup.finishLookup(completionChar); }; - CommandProcessor.getInstance().executeCommand(myProject, command, null, null); + CommandProcessor.getInstance().executeCommand(myProject, command, null, null, myEditor.getDocument()); } public PsiElement getElementAtCaret() {