Tests: Rename classes in phpunit/tests/privacy/ 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], [50291], [50292], [50342], [50452], [50453], [50456], [50967], [50968].

See .

git-svn-id: https://develop.svn.wordpress.org/trunk@50969 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-05-24 13:37:56 +00:00
parent 5ebaf70f7e
commit a5e333f03c
10 changed files with 22 additions and 20 deletions

@ -8,14 +8,14 @@
*/
/**
* Tests_Admin_WpPrivacyRequestsTable class.
* Tests_Admin_wpPrivacyRequestsTable class.
*
* @group admin
* @group privacy
*
* @since 5.1.0
*/
class Tests_Admin_WpPrivacyRequestsTable extends WP_UnitTestCase {
class Tests_Admin_wpPrivacyRequestsTable extends WP_UnitTestCase {
/**
* Get instance for mocked class.
*

@ -8,14 +8,14 @@
*/
/**
* Tests_WpCreateUserRequest class.
* Tests_Privacy_wpCreateUserRequest class.
*
* @group privacy
* @covers ::wp_create_user_request
*
* @since 5.2.0
*/
class Tests_WpCreateUserRequest extends WP_UnitTestCase {
class Tests_Privacy_wpCreateUserRequest extends WP_UnitTestCase {
/**
* Request ID.
*

@ -8,14 +8,14 @@
*/
/**
* Tests_WpPrivacyCompletedRequest class.
* Tests_Privacy_wpPrivacyCompletedRequest class.
*
* @group privacy
* @covers ::_wp_privacy_completed_request
*
* @since 4.9.6
*/
class Tests_WpPrivacyCompletedRequest extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacyCompletedRequest extends WP_UnitTestCase {
/**
* Request ID
*

@ -15,7 +15,7 @@
*
* @since 4.9.6
*/
class Tests_Privacy_WpPrivacyDeleteOldExportFiles extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacyDeleteOldExportFiles extends WP_UnitTestCase {
/**
* Path to the index file that blocks directory listing on poorly-configured servers.
*

@ -15,7 +15,7 @@
*
* @since 5.2.0
*/
class Tests_Privacy_WpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestCase {
/**
* An Export Request ID
*

@ -8,14 +8,14 @@
*/
/**
* Tests_Privacy_WpPrivacyGeneratePersonalDataExportGroupHtml class.
* Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml class.
*
* @group privacy
* @covers ::wp_privacy_generate_personal_data_export_group_html
*
* @since 5.2.0
*/
class Tests_Privacy_WpPrivacyGeneratePersonalDataExportGroupHtml extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml extends WP_UnitTestCase {
/**
* Test when a single data item is passed.

@ -8,14 +8,14 @@
*/
/**
* Tests_Privacy_WpPrivacyProcessPersonalDataExportPage class.
* Tests_Privacy_wpPrivacyProcessPersonalDataExportPage class.
*
* @group privacy
* @covers ::wp_privacy_process_personal_data_export_page
*
* @since 5.2.0
*/
class Tests_Privacy_WpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCase {
/**
* Request ID.
*

@ -8,14 +8,14 @@
*/
/**
* Tests_Privacy_WpPrivacySendErasureFulfillmentNotification class.
* Tests_Privacy_wpPrivacySendErasureFulfillmentNotification class.
*
* @group privacy
* @covers ::_wp_privacy_send_erasure_fulfillment_notification
*
* @since 5.1.0
*/
class Tests_Privacy_WpPrivacySendErasureFulfillmentNotification extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacySendErasureFulfillmentNotification extends WP_UnitTestCase {
/**
* Request ID.
*

@ -8,14 +8,14 @@
*/
/**
* Tests_Privacy_WpPrivacySendPersonalDataExportEmail class.
* Tests_Privacy_wpPrivacySendPersonalDataExportEmail class.
*
* @group privacy
* @covers ::wp_privacy_send_personal_data_export_email
*
* @since 4.9.6
*/
class Tests_Privacy_WpPrivacySendPersonalDataExportEmail extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacySendPersonalDataExportEmail extends WP_UnitTestCase {
/**
* Request ID.
*

@ -2,19 +2,21 @@
/**
* Test cases for the `_wp_privacy_send_request_confirmation_notification()` function.
*
* @package WordPress
* @subpackage UnitTests
* @since 4.9.8
*/
/**
* Tests_User_WpPrivacySendRequestConfirmationNotification class.
*
* @since 4.9.8
* Tests_Privacy_wpPrivacySendRequestConfirmationNotification class.
*
* @group privacy
* @group user
* @covers ::_wp_privacy_send_request_confirmation_notification
*
* @since 4.9.8
*/
class Tests_User_WpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase {
class Tests_Privacy_wpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase {
/**
* Reset the mocked PHPMailer instance before each test method.
*