Tests: Rename some files and classes in phpunit/tests/post/ per the naming conventions.

https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization

Follow-up to [47780].

See #51344.

git-svn-id: https://develop.svn.wordpress.org/trunk@49327 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-10-27 16:07:21 +00:00
parent 548d03026b
commit 986becfd4d
12 changed files with 12 additions and 12 deletions

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_Post_getPageUri extends WP_UnitTestCase {
class Tests_Post_GetPageUri extends WP_UnitTestCase {
/**
* @ticket 22883

View File

@ -4,7 +4,7 @@
* @group post
*/
class Tests_Post_getPages extends WP_UnitTestCase {
class Tests_Post_GetPages extends WP_UnitTestCase {
function setUp() {
parent::setUp();
}

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_Get_Post_Type_Labels extends WP_UnitTestCase {
class Tests_Post_GetPostTypeLabels extends WP_UnitTestCase {
public function test_returns_an_object() {
$this->assertInternalType(
'object',

View File

@ -3,7 +3,7 @@
* @group post
* @group menu
*/
class Test_Nav_Menus extends WP_UnitTestCase {
class Tests_Post_Nav_Menu extends WP_UnitTestCase {
/**
* @var int
*/

View File

@ -4,7 +4,7 @@
* @group post
* @group ping
*/
class Tests_Ping_and_Trackback_Sending extends WP_UnitTestCase {
class Tests_Post_Pings extends WP_UnitTestCase {
public function test_returns_to_ping_sites_from_post_id() {
$post_id = self::factory()->post->create(

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_Post_WpGetPostParentId extends WP_UnitTestCase {
class Tests_Post_wpGetPostParentId extends WP_UnitTestCase {
/**
* Parent post ID.
*

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_WPInsertPost extends WP_UnitTestCase {
class Tests_Post_wpInsertPost extends WP_UnitTestCase {
protected static $user_ids = array(
'administrator' => null,

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_List_Pages extends WP_UnitTestCase {
class Tests_Post_wpListPages extends WP_UnitTestCase {
/**
* Editor user ID.
*

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_Post_WpPost extends WP_UnitTestCase {
class Tests_Post_wpPost extends WP_UnitTestCase {
protected static $post_id;
public static function wpSetUpBeforeClass( $factory ) {

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_WP_Post_Type extends WP_UnitTestCase {
class Tests_Post_WP_Post_Type extends WP_UnitTestCase {
public function test_instances() {
global $wp_post_types;

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_WPPublishPost extends WP_UnitTestCase {
class Tests_Post_wpPublishPost extends WP_UnitTestCase {
/**
* Auto-draft post ID.

View File

@ -3,7 +3,7 @@
/**
* @group post
*/
class Tests_Post_WpUniquePostSlug extends WP_UnitTestCase {
class Tests_Post_wpUniquePostSlug extends WP_UnitTestCase {
protected $post_ids = array();
/**