File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1145,6 +1145,9 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
11451145 mockStrategies.isEnabled = false
11461146 updateMockStrategyListForConfigGuidedTypeReplacements()
11471147
1148+ staticsMocking.isEnabled = false
1149+ staticsMocking.isSelected = true
1150+
11481151 springTestsType.isEnabled = ! isXmlSpringConfigUsed()
11491152 profileNames.isEnabled = true
11501153 } else {
@@ -1155,6 +1158,9 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
11551158 mockStrategies.isEnabled = true
11561159 updateMockStrategyList()
11571160
1161+ staticsMocking.isEnabled = true
1162+ staticsMocking.isSelected = mockStrategies.item != MockStrategyApi .NO_MOCKS
1163+
11581164 springTestsType.isEnabled = false
11591165 springTestsType.item = SpringTestsType .defaultItem
11601166
You can’t perform that action at this time.
0 commit comments