Describe the bug
Test code in method DBTestSuite.test is executed immediately instead of provided to ancestor as code.
Steps to Reproduce
See this part:
val dbTestFun = {
try {
testFun
}
finally {
if (connectionInfo.persistData) {
dbConnection.connection.commit()
} else {
dbConnection.connection.rollback()
}
}
}
Expected state
val dbTestFun: () => Unit = () => {
try {
testFun
}
finally {
if (connectionInfo.persistData) {
dbConnection.connection.commit()
} else {
dbConnection.connection.rollback()
}
}
}
Impact / Severity
Medium
Attachments / Evidence
No response
Desktop
No response
Related / References
No response
Describe the bug
Test code in method
DBTestSuite.testis executed immediately instead of provided to ancestor as code.Steps to Reproduce
See this part:
Expected state
Impact / Severity
Medium
Attachments / Evidence
No response
Desktop
No response
Related / References
No response