[wp-trac] [WordPress Trac] #57844: Tests/Script Loader: Run build step in PHP Unit test actions.

WordPress Trac noreply at wordpress.org
Tue Jul 18 00:38:09 UTC 2023


#57844: Tests/Script Loader: Run build step in PHP Unit test actions.
------------------------------+---------------------
 Reporter:  peterwilsoncc     |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.3
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch close   |     Focuses:
------------------------------+---------------------

Comment (by westonruter):

 This should also allow us to remove the instances of `self::touch(()` in
 tests, for example:

 * https://github.com/WordPress/wordpress-
 develop/blob/2b931da/tests/phpunit/tests/formatting/emoji.php#L18-L19
 * https://github.com/WordPress/wordpress-
 develop/blob/2b931da/tests/phpunit/tests/oembed/wpOembed.php#L22C1-L23
 * https://github.com/WordPress/wordpress-
 develop/blob/2b931da/tests/phpunit/tests/blocks/register.php#L357-L358
 * etc

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


More information about the wp-trac mailing list