[wp-trac] [WordPress Trac] #55708: Backport some Comment blocks test changes

WordPress Trac noreply at wordpress.org
Tue May 10 21:28:32 UTC 2022


#55708: Backport some Comment blocks test changes
---------------------------------------------+-----------------------------
 Reporter:  Bernhard Reiter                  |       Owner:  hellofromTonya
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  6.0
Component:  Editor                           |     Version:
 Severity:  trivial                          |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53388" 53388]:
 {{{
 #!CommitTicketReference repository="" revision="53388"
 Editor: Use stricter assertions in comment template tests.

 Backport of the remaining Comment Template block tests from Gutenberg:

 * `assertEquals()` replaced with `assertSameSetsWithIndex()`.
 * assertion's argument order changed to ensure expected and then actual.

 Follow-up to [53353], [53298], [53172], [53138].

 Props bernhard-reiter.
 Fixes #55708.
 }}}

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


More information about the wp-trac mailing list