Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly #36224

Closed
wants to merge 1 commit into from

Conversation

bbulgarelli
Copy link
Contributor

This PR relates to the issue #33746. I added conditionals that verify if FactoryBean.OBJECT_TYPE_ATTRIBUTE is an instance of Class<?> or ResolvableType and I also created two more tests that test the object type attribute with Class and ResolvableType values.

… and ResovableType; and creating appropriate tests
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 5, 2023
@wilkinsona wilkinsona changed the title Adding necessary checks MockitoPostProcessor.getExistingBeans MockitoPostProcessor doesn't check FactoryBean.OBJECT_TYPE_ATTRIBUTE correctly Jul 5, 2023
@wilkinsona wilkinsona added type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Jul 5, 2023
@wilkinsona wilkinsona added this to the 2.7.x milestone Jul 5, 2023
@wilkinsona wilkinsona self-assigned this Jul 5, 2023
@wilkinsona wilkinsona modified the milestones: 2.7.x, 2.7.14 Jul 5, 2023
@wilkinsona wilkinsona closed this in 300e507 Jul 5, 2023
@wilkinsona
Copy link
Member

Thanks very much, @bbulgarelli.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants