Pinking shears in unit test files.
git-svn-id: https://develop.svn.wordpress.org/trunk@31623 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
067fa3702e
commit
c4e9c64233
|
@ -91,7 +91,7 @@ class Tests_Ajax_Autosave extends WP_Ajax_UnitTestCase {
|
|||
$post = get_post( $this->_post->ID );
|
||||
$this->assertGreaterThanOrEqual( 0, strpos( $post->post_content, $md5 ) );
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test autosaving a locked post
|
||||
* @return void
|
||||
|
|
|
@ -167,4 +167,4 @@ class Tests_Comment_GetCommentsPagesCount extends WP_UnitTestCase {
|
|||
|
||||
$wp_query->max_num_comment_pages = $org_max_num_comment_pages;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -270,4 +270,4 @@ class Tests_Multisite_Bootstrap extends WP_UnitTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
endif;
|
||||
endif;
|
||||
|
|
|
@ -89,4 +89,4 @@ class Tests_Multisite_MS_Files_Rewriting extends WP_UnitTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
endif;
|
||||
endif;
|
||||
|
|
|
@ -194,4 +194,4 @@ class Tests_Multisite_Network extends WP_UnitTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
endif;
|
||||
endif;
|
||||
|
|
|
@ -546,9 +546,9 @@ class Tests_Multisite_Site extends WP_UnitTestCase {
|
|||
* When the path for a site is updated with update_blog_details(), the final
|
||||
* path should have a leading and trailing slash. When multiple directories
|
||||
* are part of the path, only one slash should separate each directory.
|
||||
*
|
||||
* @ticket 18117
|
||||
*/
|
||||
*
|
||||
* @ticket 18117
|
||||
*/
|
||||
function test_update_blog_details_single_path_no_slashes() {
|
||||
update_blog_details( 1, array( 'path' => 'my_path' ) );
|
||||
$blog = get_blog_details( 1 );
|
||||
|
@ -1483,4 +1483,4 @@ class Tests_Multisite_Site extends WP_UnitTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
endif;
|
||||
endif;
|
||||
|
|
|
@ -10,7 +10,7 @@ if ( is_multisite() ) :
|
|||
* @group multisite
|
||||
*/
|
||||
class Tests_Multisite_Option extends WP_UnitTestCase {
|
||||
protected $suppress = false;
|
||||
protected $suppress = false;
|
||||
|
||||
function setUp() {
|
||||
global $wpdb;
|
||||
|
@ -219,4 +219,4 @@ class Tests_Multisite_Option extends WP_UnitTestCase {
|
|||
}
|
||||
}
|
||||
|
||||
endif;
|
||||
endif;
|
||||
|
|
|
@ -121,4 +121,4 @@ class Tests_Rewrite extends WP_UnitTestCase {
|
|||
|
||||
restore_current_blog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -260,4 +260,4 @@ class Tests_Multisite_User extends WP_UnitTestCase {
|
|||
|
||||
}
|
||||
|
||||
endif ;
|
||||
endif ;
|
||||
|
|
Loading…
Reference in New Issue