[wp-trac] [WordPress Trac] #55654: Tests: Reduce usage of assertEquals for 6.1

WordPress Trac noreply at wordpress.org
Fri Oct 7 01:06:17 UTC 2022


#55654: Tests: Reduce usage of assertEquals for 6.1
--------------------------------------+------------------------
 Reporter:  hellofromTonya            |       Owner:  desrosj
     Type:  task (blessed)            |      Status:  reviewing
 Priority:  normal                    |   Milestone:  6.1
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------

Comment (by desrosj):

 @costdev Thanks for that PR and all the work so far.

 This one is a bear, so I started with tests that did not involve type
 coercion for the expected values to get the ball rolling. We'll have to
 work through this in chunks, and possibly push parts for continuing in
 6.2.

 Some of these just require a deeper look to confirm the intended type is
 being checked for.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55654#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list