Skip to content

Improve tests about assertions#272

Merged
florianeckerstorfer merged 1 commit intococur:masterfrom
open-source-contributions:test_enhancement
Oct 5, 2020
Merged

Improve tests about assertions#272
florianeckerstorfer merged 1 commit intococur:masterfrom
open-source-contributions:test_enhancement

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