We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d1cfc8 commit b2c3b76Copy full SHA for b2c3b76
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui/GenerateTestsDialogWindow.kt
@@ -1168,7 +1168,10 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
1168
staticsMocking.isEnabled = false
1169
staticsMocking.isSelected = true
1170
1171
- springTestsType.isEnabled = !isXmlSpringConfigUsed()
+ springTestsType.let {
1172
+ it.isEnabled = !isXmlSpringConfigUsed()
1173
+ if (!it.isEnabled) springTestsType.item = SpringTestsType.defaultItem
1174
+ }
1175
profileNames.isEnabled = true
1176
} else {
1177
mockStrategies.item = when (model.projectType) {
0 commit comments