mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
e794cb23a8
commit
f626e2897b
@ -2,7 +2,7 @@
|
||||
|
||||
/**
|
||||
* @group comment
|
||||
* @group 38027
|
||||
* @ticket 38027
|
||||
*/
|
||||
class Tests_Comment_Last_Modified extends WP_UnitTestCase {
|
||||
public function test_no_comments() {
|
||||
|
||||
@ -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'];
|
||||
|
||||
@ -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' ) );
|
||||
|
||||
@ -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" .
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
/**
|
||||
* @group l10n
|
||||
* @group i18n
|
||||
* @group 26511
|
||||
* @ticket 26511
|
||||
*/
|
||||
class Tests_Locale_Switcher extends WP_UnitTestCase {
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user