From 85bc0628b4ca812e5e3990ef027e13ab035b942f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 5 Dec 2020 15:49:25 +0000 Subject: [PATCH] Tests: Correct `@ticket` references in some test files. See #51802. git-svn-id: https://develop.svn.wordpress.org/trunk@49757 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/image/editorGd.php | 4 ++-- tests/phpunit/tests/image/editorImagick.php | 4 ++-- tests/phpunit/tests/user.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/phpunit/tests/image/editorGd.php b/tests/phpunit/tests/image/editorGd.php index e757ec94ff..f9d03e6149 100644 --- a/tests/phpunit/tests/image/editorGd.php +++ b/tests/phpunit/tests/image/editorGd.php @@ -113,7 +113,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase { * Ensure multi_resize doesn't create an image when * both height and weight are missing, null, or 0. * - * ticket 26823 + * @ticket 26823 */ public function test_multi_resize_does_not_create() { $file = DIR_TESTDATA . '/images/waffles.jpg'; @@ -181,7 +181,7 @@ class Tests_Image_Editor_GD extends WP_Image_UnitTestCase { /** * Test multi_resize with multiple sizes * - * ticket 26823 + * @ticket 26823 */ public function test_multi_resize() { $file = DIR_TESTDATA . '/images/waffles.jpg'; diff --git a/tests/phpunit/tests/image/editorImagick.php b/tests/phpunit/tests/image/editorImagick.php index c5fa17272c..a8bedce079 100644 --- a/tests/phpunit/tests/image/editorImagick.php +++ b/tests/phpunit/tests/image/editorImagick.php @@ -107,7 +107,7 @@ class Tests_Image_Editor_Imagick extends WP_Image_UnitTestCase { * Ensure multi_resize doesn't create an image when * both height and weight are missing, null, or 0. * - * ticket 26823 + * @ticket 26823 */ public function test_multi_resize_does_not_create() { $file = DIR_TESTDATA . '/images/waffles.jpg'; @@ -175,7 +175,7 @@ class Tests_Image_Editor_Imagick extends WP_Image_UnitTestCase { /** * Test multi_resize with multiple sizes * - * ticket 26823 + * @ticket 26823 */ public function test_multi_resize() { $file = DIR_TESTDATA . '/images/waffles.jpg'; diff --git a/tests/phpunit/tests/user.php b/tests/phpunit/tests/user.php index 4cc7c1fb91..7199304537 100644 --- a/tests/phpunit/tests/user.php +++ b/tests/phpunit/tests/user.php @@ -275,7 +275,7 @@ class Tests_User extends WP_UnitTestCase { } /** - * ticket 19265 + * @ticket 19265 */ function test_user_level_property_back_compat() { $roles = array( @@ -410,7 +410,7 @@ class Tests_User extends WP_UnitTestCase { } /** - * ticket 19595 + * @ticket 19595 */ function test_global_userdata() { global $userdata, $wpdb; @@ -426,7 +426,7 @@ class Tests_User extends WP_UnitTestCase { } /** - * ticket 19769 + * @ticket 19769 */ function test_global_userdata_is_null_when_logged_out() { global $userdata;