Tests: Rename some classes in phpunit/tests/date/ per the naming conventions.

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

Follow-up to [47780], [48911], [49327].

See #51802.

git-svn-id: https://develop.svn.wordpress.org/trunk@50291 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-11 21:20:41 +00:00
parent 835066933b
commit 88567c5bae
13 changed files with 13 additions and 13 deletions

View File

@ -5,7 +5,7 @@
* @group datetime
* @covers ::current_time
*/
class Tests_Date_Current_Time extends WP_UnitTestCase {
class Tests_Date_CurrentTime extends WP_UnitTestCase {
/**
* @ticket 34378

View File

@ -5,7 +5,7 @@
* @group datetime
* @covers ::date_i18n
*/
class Tests_Date_I18n extends WP_UnitTestCase {
class Tests_Date_DateI18n extends WP_UnitTestCase {
/**
* @ticket 28636

View File

@ -6,7 +6,7 @@
* @group comment
* @covers ::get_comment_date
*/
class Tests_Date_Get_Comment_Date extends WP_UnitTestCase {
class Tests_Date_GetCommentDate extends WP_UnitTestCase {
/**
* @ticket 51184

View File

@ -6,7 +6,7 @@
* @group feed
* @covers ::get_feed_build_date
*/
class Tests_Date_Get_Feed_Build_Date extends WP_UnitTestCase {
class Tests_Date_GetFeedBuildDate extends WP_UnitTestCase {
function tearDown() {
global $wp_query;

View File

@ -6,7 +6,7 @@
* @group post
* @covers ::get_permalink
*/
class Tests_Date_Get_Permalink extends WP_UnitTestCase {
class Tests_Date_GetPermalink extends WP_UnitTestCase {
function tearDown() {
delete_option( 'permalink_structure' );

View File

@ -7,7 +7,7 @@
* @covers ::get_post_time
* @covers ::get_post_modified_time
*/
class Tests_Date_Get_Post_Time extends WP_UnitTestCase {
class Tests_Date_GetPostTime extends WP_UnitTestCase {
/**
* @ticket 28310

View File

@ -6,7 +6,7 @@
* @group post
* @covers ::get_the_date
*/
class Tests_Date_Get_The_Date extends WP_UnitTestCase {
class Tests_Date_GetTheDate extends WP_UnitTestCase {
/**
* @ticket 13771

View File

@ -6,7 +6,7 @@
* @group post
* @covers ::get_the_modified_date
*/
class Tests_Date_Get_The_Modified_Date extends WP_UnitTestCase {
class Tests_Date_GetTheModifiedDate extends WP_UnitTestCase {
/**
* Test get_the_modified_time with post_id parameter.

View File

@ -6,7 +6,7 @@
* @group datetime
* @covers ::wp_maybe_decline_date
*/
class Tests_Functions_MaybeDeclineDate extends WP_UnitTestCase {
class Tests_Date_MaybeDeclineDate extends WP_UnitTestCase {
/**
* @var string

View File

@ -9,7 +9,7 @@
* @group date
* @covers WP_Date_Query
*/
class Tests_WP_Date_Query extends WP_UnitTestCase {
class Tests_Date_Query extends WP_UnitTestCase {
/**
* @var WP_Date_Query $q
*/

View File

@ -7,7 +7,7 @@
* @covers ::the_date
* @covers ::the_weekday_date
*/
class Tests_Date_The_Date extends WP_UnitTestCase {
class Tests_Date_TheDate extends WP_UnitTestCase {
/** @var array $hooks_called Count of hooks called. */
protected $hooks_called = array(

View File

@ -5,7 +5,7 @@
* @group datetime
* @covers ::wp_date
*/
class Tests_Date_WP_Date extends WP_UnitTestCase {
class Tests_Date_wpDate extends WP_UnitTestCase {
/** @var WP_Locale */
private $wp_locale_original;

View File

@ -6,7 +6,7 @@
* @covers ::wp_timezone_string
* @covers ::wp_timezone
*/
class Tests_Date_WP_Timezone extends WP_UnitTestCase {
class Tests_Date_wpTimezone extends WP_UnitTestCase {
/**
* @ticket 24730