[wp-trac] [WordPress Trac] #55571: Gallery block fixtures in phpunit tests need updating

WordPress Trac noreply at wordpress.org
Mon Apr 25 22:37:15 UTC 2022


#55571: Gallery block fixtures in phpunit tests need updating
--------------------------------------+---------------------------
 Reporter:  glendaviesnz              |       Owner:  glendaviesnz
     Type:  task (blessed)            |      Status:  reopened
 Priority:  normal                    |   Milestone:  6.0
Component:  Build/Test Tools          |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------
Changes (by peterwilsoncc):

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


Comment:

 I missed this earlier, sorry.

 I think it would be good to maintain tests for both the updated and legacy
 format. That will ensure that any code changes don't break the legacy
 format on sites that haven't upgraded.

 Will putting the fixture back as `core__gallery-legacy.*` cause problems?

 I'll reopen this for now while it's discussed.

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


More information about the wp-trac mailing list