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
1107
1107
1108
1108
mockStrategies.addActionListener { _ ->
1109
1109
updateControlsEnabledStatus()
1110
- if (staticsMocking.isSelected && mockStrategies.item == MockStrategyApi .NO_MOCKS ) {
1110
+ if (mockStrategies.item == MockStrategyApi .NO_MOCKS ) {
1111
1111
staticsMocking.isSelected = false
1112
1112
}
1113
1113
}
@@ -1156,7 +1156,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m
1156
1156
profileNames.text = " "
1157
1157
}
1158
1158
1159
- if (! staticsMocking.isSelected && isSpringConfigSelected() ) {
1159
+ if (isSpringConfigSelected() && springTestType.item == UNIT_TEST ) {
1160
1160
staticsMocking.isSelected = true
1161
1161
}
1162
1162
You can’t perform that action at this time.
0 commit comments