[wp-trac] [WordPress Trac] #61238: Tests: Ticket annotations should not include any trailing characters

WordPress Trac noreply at wordpress.org
Fri May 17 08:46:04 UTC 2024


#61238: Tests: Ticket annotations should not include any trailing characters
------------------------------+------------------------------
 Reporter:  jonsurrell        |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by jonsurrell):

 Tests with tickets that will not currently match `--group` filtering as
 expected:

 {{{
 grep -ER '@ticket\s+[0-9]+[^0-9]' tests/phpunit/tests
 tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php:
 * @ticket 46895 Updated to remove </h2> from test to avoid Count
 introducing failure.
 tests/phpunit/tests/cron.php:    * @ticket 45976.
 tests/phpunit/tests/cron.php:    * @ticket 45976.
 tests/phpunit/tests/cron.php:    * @ticket 45976.
 tests/phpunit/tests/db.php:                      * @ticket 56933.
 tests/phpunit/tests/db.php:                      * @ticket 52506.
 tests/phpunit/tests/formatting/date.php:                        // @ticket
 56468.
 }}}

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


More information about the wp-trac mailing list