mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
38361be8e6
commit
85bc0628b4
@ -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';
|
||||
|
||||
@ -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';
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user