diff --git a/platform/configuration-store-impl/testSrc/DoNotSaveDefaults.kt b/platform/configuration-store-impl/testSrc/DoNotSaveDefaultsTest.kt
similarity index 89%
rename from platform/configuration-store-impl/testSrc/DoNotSaveDefaults.kt
rename to platform/configuration-store-impl/testSrc/DoNotSaveDefaultsTest.kt
index 3a2d531532d2..a23027089399 100644
--- a/platform/configuration-store-impl/testSrc/DoNotSaveDefaults.kt
+++ b/platform/configuration-store-impl/testSrc/DoNotSaveDefaultsTest.kt
@@ -82,15 +82,16 @@ internal class DoNotSaveDefaultsTest {
}
}
- val propertyComponent = PropertiesComponent.getInstance()
- //
- propertyComponent.unsetValue("file.gist.reindex.count")
- propertyComponent.unsetValue("android-component-compatibility-check")
- //
- propertyComponent.unsetValue("CommitChangeListDialog.DETAILS_SPLITTER_PROPORTION_2")
- propertyComponent.unsetValue("ts.lib.d.ts.version")
- propertyComponent.unsetValue("nodejs_interpreter_path.stuck_in_default_project")
- propertyComponent.unsetValue("android-component-compatibility-check")
+ if (componentManager !is Project) {
+ val propertyComponent = PropertiesComponent.getInstance()
+ //
+ propertyComponent.unsetValue("file.gist.reindex.count")
+ propertyComponent.unsetValue("android-component-compatibility-check")
+ //
+ propertyComponent.unsetValue("CommitChangeListDialog.DETAILS_SPLITTER_PROPORTION_2")
+ propertyComponent.unsetValue("ts.lib.d.ts.version")
+ propertyComponent.unsetValue("nodejs_interpreter_path.stuck_in_default_project")
+ }
val useModCountOldValue = System.getProperty("store.save.use.modificationCount")
try {