Skip to content

Fix SpEL propertyReadWriteWithRootObject() test #27905

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

Conversation

justlikeliuen
Copy link
Contributor

Partially modify PropertyAccessTests#propertyReadWriteWithRootObject.
The test case is for method 'withRootObject' but actually it's copied
for the previous case.

Partially modify PropertyAccessTests#propertyReadWriteWithRootObject.
The test case is for method 'withRootObject' but actually it's copied
for the previous case.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 8, 2022
@sbrannen
Copy link
Member

sbrannen commented Jan 8, 2022

Good catch. That test method is indeed not testing what it's intended to.

And congratulations on submitting your first PR to the Spring Framework! 👍

@sbrannen sbrannen added in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 8, 2022
@sbrannen sbrannen self-assigned this Jan 8, 2022
@sbrannen sbrannen added this to the 5.3.15 milestone Jan 8, 2022
@sbrannen sbrannen changed the title Partially modify PropertyAccessTests Fix SpEL propertyReadWriteWithRootObject() test Jan 8, 2022
@sbrannen sbrannen closed this in 3e75ec7 Jan 8, 2022
@sbrannen
Copy link
Member

sbrannen commented Jan 8, 2022

This has been merged into 5.3.x and main.

Thanks

As a side note, your fix made me notice a similar issue in another test method in that class, which I fixed in 59c6b7e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants