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

WordPress Trac noreply at wordpress.org
Tue May 10 21:40:31 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:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53389" 53389]:
 {{{
 #!CommitTicketReference repository="" revision="53389"
 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.
 Merges [53388] to the 6.0 branch.
 Fixes #55708.
 }}}

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


More information about the wp-trac mailing list