diff --git a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java index 6ca9ffafe7b1..cdeb1b6ba4b2 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java @@ -229,9 +229,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig List result = new ArrayList<>(); IntentionListStep intentionListStep = new IntentionListStep(null, intentions, editor, file, file.getProject()); for (Map.Entry> entry : intentionListStep.getActionsWithSubActions().entrySet()) { - final IntentionAction action = entry.getKey(); - if (action.isAvailable(file.getProject(), editor, file)) - result.add(action); + result.add(entry.getKey()); result.addAll(entry.getValue()); }