[wp-trac] [WordPress Trac] #54551: Block Template Utils: Enable currently incomplete unit test

WordPress Trac noreply at wordpress.org
Fri Dec 3 16:57:34 UTC 2021

#54551: Block Template Utils: Enable currently incomplete unit test
 Reporter:  Bernhard Reiter                  |       Owner:  hellofromTonya
     Type:  task (blessed)                   |      Status:  closed
 Priority:  normal                           |   Milestone:  5.9
Component:  Editor                           |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
Changes (by hellofromTonya):

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


 In [changeset:"52314" 52314]:
 #!CommitTicketReference repository="" revision="52314"
 Editor: Enable incomplete unit tests in `Tests_Block_Template_Utils::

 At the time tests were backported from Gutenberg, a block template theme
 was not available in the test suite; thus, the test was marked as

 Now that `block-theme` and `block-theme-child` test fixture block template
 themes are available, this commit removes the `markTestIncomplete()` and
 adjusts the test to run by switching to the `block-theme` test fixture.

 Follow-up to [51003], [52062], [52247].

 Props bernhard-reiter.
 Fixes #54551.

Ticket URL: <https://core.trac.wordpress.org/ticket/54551#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list