Skip to content

Commit

Permalink
Plugin setting to choose Kotlin generation doesn't work UnitTestBot#1075
Browse files Browse the repository at this point in the history
  • Loading branch information
Vassiliy-Kudryashov authored and AbdullinAM committed Oct 17, 2022
1 parent 0dbb182 commit 73933a7
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ import javax.swing.JList
import javax.swing.JPanel
import javax.swing.JSpinner
import javax.swing.text.DefaultFormatter
import kotlin.streams.toList
import org.jetbrains.concurrency.Promise
import org.jetbrains.concurrency.thenRun
import org.jetbrains.kotlin.asJava.classes.KtUltraLightClass
Expand Down Expand Up @@ -502,7 +501,7 @@ class GenerateTestsDialogWindow(val model: GenerateTestsModel) : DialogWrapper(m

model.mockFramework = MOCKITO
model.staticsMocking = if (staticsMocking.isSelected) MockitoStaticMocking else NoStaticMocking
model.codegenLanguage = codegenLanguages.item
model.codegenLanguage = model.project.service<Settings>().codegenLanguage
try {
timeoutSpinner.commitEdit()
} catch (ignored: ParseException) {
Expand Down

0 comments on commit 73933a7

Please sign in to comment.