IDEA-CR-67326: Fix for failing ModuleHighlightingTest.testQuickFixes
authorJakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
Fri, 2 Oct 2020 10:54:29 +0000 (12:54 +0200)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Fri, 2 Oct 2020 11:10:24 +0000 (11:10 +0000)
GitOrigin-RevId: 92a80e5fe2499f0653a437f3d40038061e85275e

java/java-tests/testSrc/com/intellij/java/codeInsight/daemon/ModuleHighlightingTest.kt

index 543a0197fe10288dabbe47303ab7c7b743e59e20..7e83e1acdb1afd1860c7f05541acf4ad0df9a33b 100644 (file)
@@ -224,7 +224,7 @@ class ModuleHighlightingTest : LightJava9ModulesCodeInsightFixtureTestCase() {
     fixes("module M { exports <caret>pkg.missing; }", arrayOf("CreateClassInPackageInModuleFix"))
     fixes("module M { exports <caret>pkg.m3; }", arrayOf())
     fixes("module M { uses pkg.m3.<caret>C3; }", arrayOf("AddModuleDependencyFix"))
-    fixes("pkg/main/C.java", "package pkg.main;\nimport <caret>pkg.m2.C2;", arrayOf("AddRequiresDirectiveFix"))
+    fixes("pkg/main/C.java", "package pkg.main;\nimport <caret>pkg.m2.C2;", arrayOf("AddRequiresDirectiveFix", "PackageSearchQuickFix"))
 
     addFile("module-info.java", "module M { requires M6; }")
     addFile("pkg/main/Util.java", "package pkg.main;\nclass Util {\n static <T> void sink(T t) { }\n}")
@@ -486,4 +486,4 @@ class ModuleHighlightingTest : LightJava9ModulesCodeInsightFixtureTestCase() {
     assertThat(available).containsExactlyInAnyOrder(*fixes)
   }
   //</editor-fold>
-}
\ No newline at end of file
+}