[wp-trac] [WordPress Trac] #58956: Tests: Reduce usage of assertEquals for 6.4

WordPress Trac noreply at wordpress.org
Fri Sep 29 15:22:28 UTC 2023


#58956: Tests: Reduce usage of assertEquals for 6.4
--------------------------------------+---------------------
 Reporter:  SergeyBiryukov            |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  6.4
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jorbin):

 In [changeset:"56746" 56746]:
 {{{
 #!CommitTicketReference repository="" revision="56746"
 Tests: Reduce usage of assertEquals

 Replaces assertSame with assertCount in a number of tests.

 Props ayeshrajans, jorbin.
 See #58956.
 }}}

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


More information about the wp-trac mailing list