Skip to content

Commit 0be9ef7

Browse files
committed
When test throws an exception, it should pass by default
1 parent 25036b0 commit 0be9ef7

File tree

1 file changed

+1
-1
lines changed
  • utbot-framework/src/main/kotlin/org/utbot/framework/codegen/domain

1 file changed

+1
-1
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/domain/Domain.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ enum class RuntimeExceptionTestsBehaviour(
584584
// Get is mandatory because of the initialization order of the inheritors.
585585
// Otherwise, in some cases we could get an incorrect value
586586
companion object : CodeGenerationSettingBox {
587-
override val defaultItem: RuntimeExceptionTestsBehaviour get() = FAIL
587+
override val defaultItem: RuntimeExceptionTestsBehaviour get() = PASS
588588
override val allItems: List<RuntimeExceptionTestsBehaviour> = values().toList()
589589
}
590590
}

0 commit comments

Comments
 (0)