Skip to content

Commit 31843c7

Browse files
committed
Prohibit all mocks from becoming test class fields
1 parent 79201d3 commit 31843c7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/domain/models/builders/SpringTestClassModelBuilder.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ class SpringTestClassModelBuilder(val context: CgContext): TestClassModelBuilder
102102
}
103103
is UtCompositeModel -> {
104104
currentModel.fields.values.forEach { collectRecursively(it, allModels) }
105-
currentModel.mocks.values.asSequence().flatten().forEach { collectRecursively(it, allModels) }
106105
}
107106
is UtAssembleModel -> {
108107
currentModel.origin?.let { collectRecursively(it, allModels) }

0 commit comments

Comments
 (0)