Skip to content

Commit 843d444

Browse files
committed
Fix wrong property name
1 parent c7e564c commit 843d444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utbot-framework/src/main/kotlin/org/utbot/framework/codegen/model/constructor/tree/CgTestClassConstructor.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ internal class CgTestClassConstructor(val context: CgContext) :
4949
*/
5050
fun construct(testClassModel: TestClassModel): CgTestClassFile {
5151
return buildTestClassFile {
52-
this.testClass = withTestClassScope { constructTestClass(testClassModel) }
52+
this.declaredClass = withTestClassScope { constructTestClass(testClassModel) }
5353
imports += context.collectedImports
5454
testsGenerationReport = this@CgTestClassConstructor.testsGenerationReport
5555
}

0 commit comments

Comments
 (0)