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

Improve tests about assertions #272

Merged

Conversation

peter279k
Copy link
Contributor

Changed log

  • Using the assertSame to replace assertEquals and it can make assert equals checking strict.

Copy link
Contributor

@kubawerlos kubawerlos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add php_unit_strict rule to .php_cs - will prevent using assertEquals in the future.

@florianeckerstorfer florianeckerstorfer merged commit 419ea11 into cocur:master Oct 5, 2020
@peter279k peter279k deleted the test_enhancement branch October 5, 2020 11:47
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.

4 participants