File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
utbot-intellij/src/main/kotlin/org/utbot/intellij/plugin/ui Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1107,7 +1107,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
11071107
11081108 mockStrategies.addActionListener { _ ->
11091109 updateControlsEnabledStatus()
1110- if (staticsMocking.isSelected && mockStrategies.item == MockStrategyApi .NO_MOCKS ) {
1110+ if (mockStrategies.item == MockStrategyApi .NO_MOCKS ) {
11111111 staticsMocking.isSelected = false
11121112 }
11131113 }
@@ -1156,7 +1156,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
11561156 profileNames.text = " "
11571157 }
11581158
1159- if (! staticsMocking.isSelected && isSpringConfigSelected() ) {
1159+ if (isSpringConfigSelected() && springTestType.item == UNIT_TEST ) {
11601160 staticsMocking.isSelected = true
11611161 }
11621162
You can’t perform that action at this time.
0 commit comments