Tests: Use @ticket annotation for ticket numbers, for clarity.

See #51802.

git-svn-id: https://develop.svn.wordpress.org/trunk@50337 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-13 12:17:36 +00:00
parent e794cb23a8
commit f626e2897b
5 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
/**
* @group comment
* @group 38027
* @ticket 38027
*/
class Tests_Comment_Last_Modified extends WP_UnitTestCase {
public function test_no_comments() {

View File

@ -150,7 +150,7 @@ class Tests_Feeds_RSS2 extends WP_UnitTestCase {
/**
* Test that translated feeds have a valid listed date.
*
* @group 39141
* @ticket 39141
*/
function test_channel_pubdate_element_translated() {
$original_locale = $GLOBALS['wp_locale'];

View File

@ -63,7 +63,7 @@ class Tests_Formatting_Redirect extends WP_UnitTestCase {
}
/**
* @group 36998
* @ticket 36998
*/
function test_wp_sanitize_redirect_should_encode_spaces() {
$this->assertSame( 'http://example.com/test%20spaces', wp_sanitize_redirect( 'http://example.com/test%20spaces' ) );

View File

@ -244,7 +244,7 @@ class Tests_General_wpResourceHints extends WP_UnitTestCase {
}
/**
* @group 38121
* @ticket 38121
*/
function test_custom_attributes() {
$expected = "<link rel='dns-prefetch' href='//s.w.org' />\n" .

View File

@ -3,7 +3,7 @@
/**
* @group l10n
* @group i18n
* @group 26511
* @ticket 26511
*/
class Tests_Locale_Switcher extends WP_UnitTestCase {
/**