From beda3f1f00518b548ce902cee953a226596d9ab3 Mon Sep 17 00:00:00 2001 From: Sergey Malenkov Date: Tue, 25 Apr 2017 18:11:55 +0300 Subject: [PATCH] IDEA-165089 KeymapTest.testLookingForShortcutsInParentFirstAndOnlyThenConsiderBoundActions --- .../testSrc/com/intellij/openapi/keymap/impl/KeymapTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/platform/platform-tests/testSrc/com/intellij/openapi/keymap/impl/KeymapTest.java b/platform/platform-tests/testSrc/com/intellij/openapi/keymap/impl/KeymapTest.java index ef41e59d337e..fc42b267731f 100644 --- a/platform/platform-tests/testSrc/com/intellij/openapi/keymap/impl/KeymapTest.java +++ b/platform/platform-tests/testSrc/com/intellij/openapi/keymap/impl/KeymapTest.java @@ -52,6 +52,7 @@ public class KeymapTest extends PlatformTestCase { myParent.addShortcut(ACTION_2, shortcut2); myChild = myParent.deriveKeymap("Child"); + myChild.setCanModify(false); assertThat(myParent).isSameAs(myChild.getParent()); myChild.addShortcut(ACTION_1, shortcutA);