[wp-trac] [WordPress Trac] #59476: Tests: Add coverage for Patterns registry

WordPress Trac noreply at wordpress.org
Wed Sep 27 08:46:17 UTC 2023


#59476: Tests: Add coverage for Patterns registry
-----------------------------+-----------------------------
 Reporter:  Bernhard Reiter  |      Owner:  Bernhard Reiter
     Type:  enhancement      |     Status:  assigned
 Priority:  normal           |  Milestone:  6.4
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 We do not currently seem to have any unit test coverage for the Patterns
 registry (`WP_Block_Patterns_Registry`). With Block Hooks logic recently
 added ([56649]), it would be good to add some unit tests to guard that
 behavior against regressions.

 (This is going to be a test-only change, which I believe is still
 permitted after Feature Freeze.)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59476>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list