Skip to content

refactor(TestSetterAndGetterTrait): Do not automatically set 'assert' to 'same' if value is an object #7

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

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from

Conversation

TiSiE
Copy link
Member

@TiSiE TiSiE commented Mar 12, 2020

It was impossible to check a object values for equality without specifying the 'assert' method.
This could have been unintuitive in certain test situations - while the opposite case ( check value objects to be
the exact same) had not to be made explicit.

Now checking if two value objects are the same has to be made explicit by specifying the assert method.

… to 'same' if value is an object

It was impossible to check a object values for equality without specifying the 'assert' method.
This could have been unintuitive in certain test situations - while the opposite case ( check value objects to be
the exact same) had not to be made explicit.

Now checking if two value objects are the same has to be made explicit by specifying the assert method.
@TiSiE TiSiE added this to the 2.1.0 milestone Mar 12, 2020
@cbleek
Copy link
Member

cbleek commented Mar 12, 2020

do I have todo something?

@TiSiE
Copy link
Member Author

TiSiE commented Mar 13, 2020

@cbleek No


I just realized, that this is a breaking change and therefor unfortunately is not suitable for a 2.x relase. It will have to wait for 3.0.0

@TiSiE TiSiE modified the milestones: 2.1.0, 3.0.0 Mar 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants