- Notifications
You must be signed in to change notification settings - Fork 45
Closed
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorcomp-springIssue is related to Spring projects supportIssue is related to Spring projects supportctg-bugIssue is a bugIssue is a bug
Description
Description
There are two variables with name petTypeMock
created in Unit tests for Pet
To Reproduce
- Install -IU- UnitTestBot plugin in IntelliJ IDEA
- Open
spring-petclinic
- Generate
Unit tests
forPet
withPetClinicApplication
/ No Configuration
Expected behavior
No mock for LocalDate is expected.
Variables for mocks should be with unique consistent names.
Tests should be compiled.
Actual behavior
There is mock for LocalDate.
There are two variables with name petTypeMock
.
Tests are not compiling.
Screenshots, logs
Environment
IntelliJ IDEA version - Community 2023.2
Project - Maven
JDK - 17
Metadata
Metadata
Assignees
Labels
comp-codegenIssue is related to code generatorIssue is related to code generatorcomp-springIssue is related to Spring projects supportIssue is related to Spring projects supportctg-bugIssue is a bugIssue is a bug
Type
Projects
Status
Done