Docs: Remove extra spaces from @ticket
tag in unit tests.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b970deb94a
commit
506fab2814
@ -862,7 +862,7 @@ VIDEO;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 35367
|
||||
* @ticket 35367
|
||||
* @depends test_video_shortcode_body
|
||||
*/
|
||||
function test_wp_video_shortcode_with_empty_params() {
|
||||
@ -870,7 +870,7 @@ VIDEO;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 35367
|
||||
* @ticket 35367
|
||||
* @depends test_video_shortcode_body
|
||||
*/
|
||||
function test_wp_video_shortcode_with_bad_attr() {
|
||||
@ -885,7 +885,7 @@ VIDEO;
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 35367
|
||||
* @ticket 35367
|
||||
* @depends test_video_shortcode_body
|
||||
*/
|
||||
function test_wp_video_shortcode_attributes() {
|
||||
|
@ -52,7 +52,6 @@ class Tests_Post_Attachments extends WP_UnitTestCase {
|
||||
$this->assertEquals( wp_basename( $upload['file'] ), wp_basename( $downsize[0] ) );
|
||||
$this->assertEquals( 50, $downsize[1] );
|
||||
$this->assertEquals( 50, $downsize[2] );
|
||||
|
||||
}
|
||||
|
||||
function test_insert_image_thumb_only() {
|
||||
@ -105,7 +104,6 @@ class Tests_Post_Attachments extends WP_UnitTestCase {
|
||||
$this->assertEquals( 'a2-small.jpg', wp_basename( $downsize[0] ) );
|
||||
$this->assertEquals( 400, $downsize[1] );
|
||||
$this->assertEquals( 300, $downsize[2] );
|
||||
|
||||
}
|
||||
|
||||
function test_insert_image_medium_sizes() {
|
||||
|
@ -1176,7 +1176,8 @@ class WP_Test_REST_Post_Meta_Fields extends WP_Test_REST_TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 38323
|
||||
* @ticket 38323
|
||||
*
|
||||
* @dataProvider data_get_subtype_meta_value
|
||||
*/
|
||||
public function test_get_subtype_meta_value( $post_type, $meta_key, $single, $in_post_type ) {
|
||||
@ -1228,7 +1229,8 @@ class WP_Test_REST_Post_Meta_Fields extends WP_Test_REST_TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 38323
|
||||
* @ticket 38323
|
||||
*
|
||||
* @dataProvider data_set_subtype_meta_value
|
||||
*/
|
||||
public function test_set_subtype_meta_value( $post_type, $meta_key, $single, $in_post_type, $can_write ) {
|
||||
@ -1299,7 +1301,8 @@ class WP_Test_REST_Post_Meta_Fields extends WP_Test_REST_TestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 42069
|
||||
* @ticket 42069
|
||||
*
|
||||
* @dataProvider data_update_value_return_success_with_same_value
|
||||
*/
|
||||
public function test_update_value_return_success_with_same_value( $meta_key, $meta_value ) {
|
||||
|
@ -411,7 +411,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_property
|
||||
*/
|
||||
public function test_property_is_required( $data, $expected ) {
|
||||
@ -438,7 +439,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_property
|
||||
*/
|
||||
public function test_property_is_required_v4( $data, $expected ) {
|
||||
@ -479,7 +481,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_nested_property
|
||||
*/
|
||||
public function test_nested_property_is_required( $data, $expected ) {
|
||||
@ -511,7 +514,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_nested_property
|
||||
*/
|
||||
public function test_nested_property_is_required_v4( $data, $expected ) {
|
||||
@ -569,7 +573,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_deeply_nested_property
|
||||
*/
|
||||
public function test_deeply_nested_v3_required_property( $value, $expected ) {
|
||||
@ -608,7 +613,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_deeply_nested_property
|
||||
*/
|
||||
public function test_deeply_nested_v4_required_property( $value, $expected ) {
|
||||
@ -647,7 +653,8 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_deeply_nested_property
|
||||
*/
|
||||
public function test_deeply_nested_mixed_version_required_property( $value, $expected ) {
|
||||
|
@ -621,8 +621,10 @@ class Tests_Theme extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 49406
|
||||
* @ticket 49406
|
||||
*
|
||||
* @dataProvider _dp_register_theme_support_validation
|
||||
*
|
||||
* @param string $error_code The error code expected.
|
||||
* @param array $args The args to register.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user