diff --git a/plugins/devkit/devkit-java-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.java b/plugins/devkit/devkit-java-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.java
index 21e05a3d961f..cf266139bf6d 100644
--- a/plugins/devkit/devkit-java-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.java
+++ b/plugins/devkit/devkit-java-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.java
@@ -1,13 +1,13 @@
import com.intellij.openapi.components.BaseComponent;
-public class UnregisteredApplicationComponent
+public class UnregisteredApplicationComponent
implements BaseComponent, UnregisteredApplicationComponentInterface {
public static UnregisteredApplicationComponentInterface getInstance() {
return null;
}
- public static class InnerStaticClassApplicationContext
+ public static class InnerStaticClassApplicationContext
implements BaseComponent {}
public class InnerClassApplicationContextIsNotChecked implements BaseComponent {}
diff --git a/plugins/devkit/devkit-kotlin-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.kt b/plugins/devkit/devkit-kotlin-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.kt
index 47afb4bbdf90..692f504e7aa8 100644
--- a/plugins/devkit/devkit-kotlin-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.kt
+++ b/plugins/devkit/devkit-kotlin-tests/testData/inspections/componentNotRegistered/UnregisteredApplicationComponent.kt
@@ -1,9 +1,9 @@
import com.intellij.openapi.components.BaseComponent
-class UnregisteredBaseComponent
+class UnregisteredApplicationComponent
: BaseComponent, UnregisteredApplicationComponentInterface {
- class InnerStaticClassApplicationContext
+ class InnerStaticClassApplicationContext
: BaseComponent
inner class InnerClassApplicationContextIsNotChecked : BaseComponent
diff --git a/plugins/devkit/devkit-tests-api/src/org/jetbrains/idea/devkit/inspections/ComponentNotRegisteredInspectionTestBase.java b/plugins/devkit/devkit-tests-api/src/org/jetbrains/idea/devkit/inspections/ComponentNotRegisteredInspectionTestBase.java
index af3c6a98a740..4565cde4ab7a 100644
--- a/plugins/devkit/devkit-tests-api/src/org/jetbrains/idea/devkit/inspections/ComponentNotRegisteredInspectionTestBase.java
+++ b/plugins/devkit/devkit-tests-api/src/org/jetbrains/idea/devkit/inspections/ComponentNotRegisteredInspectionTestBase.java
@@ -94,10 +94,6 @@ public abstract class ComponentNotRegisteredInspectionTestBase extends PluginMod
myFixture.testHighlighting("UnregisteredApplicationComponent." + getSourceFileExtension(),
"UnregisteredApplicationComponentInterface." + getSourceFileExtension());
- final IntentionAction registerAction = myFixture.findSingleIntention("Register Application Component");
- myFixture.launchAction(registerAction);
-
- myFixture.checkResultByFile("META-INF/plugin.xml", "unregisteredApplicationComponent-plugin_after.xml", true);
}