WordPress.org

Make WordPress Core

Changeset 50969


Ignore:
Timestamp:
05/24/2021 01:37:56 PM (6 months ago)
Author:
SergeyBiryukov
Message:

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 #52625.

Location:
trunk/tests/phpunit/tests
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/admin/wpPrivacyRequestsTable.php

    r48858 r50969  
    99
    1010/**
    11  * Tests_Admin_WpPrivacyRequestsTable class.
     11 * Tests_Admin_wpPrivacyRequestsTable class.
    1212 *
    1313 * @group admin
     
    1616 * @since 5.1.0
    1717 */
    18 class Tests_Admin_WpPrivacyRequestsTable extends WP_UnitTestCase {
     18class Tests_Admin_wpPrivacyRequestsTable extends WP_UnitTestCase {
    1919    /**
    2020     * Get instance for mocked class.
  • trunk/tests/phpunit/tests/privacy/wpCreateUserRequest.php

    r50230 r50969  
    99
    1010/**
    11  * Tests_WpCreateUserRequest class.
     11 * Tests_Privacy_wpCreateUserRequest class.
    1212 *
    1313 * @group privacy
     
    1616 * @since 5.2.0
    1717 */
    18 class Tests_WpCreateUserRequest extends WP_UnitTestCase {
     18class Tests_Privacy_wpCreateUserRequest extends WP_UnitTestCase {
    1919    /**
    2020     * Request ID.
  • trunk/tests/phpunit/tests/privacy/wpPrivacyCompletedRequest.php

    r49603 r50969  
    99
    1010/**
    11  * Tests_WpPrivacyCompletedRequest class.
     11 * Tests_Privacy_wpPrivacyCompletedRequest class.
    1212 *
    1313 * @group privacy
     
    1616 * @since 4.9.6
    1717 */
    18 class Tests_WpPrivacyCompletedRequest extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacyCompletedRequest extends WP_UnitTestCase {
    1919    /**
    2020     * Request ID
  • trunk/tests/phpunit/tests/privacy/wpPrivacyDeleteOldExportFiles.php

    r50037 r50969  
    1616 * @since 4.9.6
    1717 */
    18 class Tests_Privacy_WpPrivacyDeleteOldExportFiles extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacyDeleteOldExportFiles extends WP_UnitTestCase {
    1919    /**
    2020     * Path to the index file that blocks directory listing on poorly-configured servers.
  • trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportFile.php

    r50713 r50969  
    1616 * @since 5.2.0
    1717 */
    18 class Tests_Privacy_WpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacyGeneratePersonalDataExportFile extends WP_UnitTestCase {
    1919    /**
    2020     * An Export Request ID
  • trunk/tests/phpunit/tests/privacy/wpPrivacyGeneratePersonalDataExportGroupHtml.php

    r47278 r50969  
    99
    1010/**
    11  * Tests_Privacy_WpPrivacyGeneratePersonalDataExportGroupHtml class.
     11 * Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml class.
    1212 *
    1313 * @group privacy
     
    1616 * @since 5.2.0
    1717 */
    18 class Tests_Privacy_WpPrivacyGeneratePersonalDataExportGroupHtml extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacyGeneratePersonalDataExportGroupHtml extends WP_UnitTestCase {
    1919
    2020    /**
  • trunk/tests/phpunit/tests/privacy/wpPrivacyProcessPersonalDataExportPage.php

    r49971 r50969  
    99
    1010/**
    11  * Tests_Privacy_WpPrivacyProcessPersonalDataExportPage class.
     11 * Tests_Privacy_wpPrivacyProcessPersonalDataExportPage class.
    1212 *
    1313 * @group privacy
     
    1616 * @since 5.2.0
    1717 */
    18 class Tests_Privacy_WpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacyProcessPersonalDataExportPage extends WP_UnitTestCase {
    1919    /**
    2020     * Request ID.
  • trunk/tests/phpunit/tests/privacy/wpPrivacySendErasureFulfillmentNotification.php

    r49603 r50969  
    99
    1010/**
    11  * Tests_Privacy_WpPrivacySendErasureFulfillmentNotification class.
     11 * Tests_Privacy_wpPrivacySendErasureFulfillmentNotification class.
    1212 *
    1313 * @group privacy
     
    1616 * @since 5.1.0
    1717 */
    18 class Tests_Privacy_WpPrivacySendErasureFulfillmentNotification extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacySendErasureFulfillmentNotification extends WP_UnitTestCase {
    1919    /**
    2020     * Request ID.
  • trunk/tests/phpunit/tests/privacy/wpPrivacySendPersonalDataExportEmail.php

    r49603 r50969  
    99
    1010/**
    11  * Tests_Privacy_WpPrivacySendPersonalDataExportEmail class.
     11 * Tests_Privacy_wpPrivacySendPersonalDataExportEmail class.
    1212 *
    1313 * @group privacy
     
    1616 * @since 4.9.6
    1717 */
    18 class Tests_Privacy_WpPrivacySendPersonalDataExportEmail extends WP_UnitTestCase {
     18class Tests_Privacy_wpPrivacySendPersonalDataExportEmail extends WP_UnitTestCase {
    1919    /**
    2020     * Request ID.
  • trunk/tests/phpunit/tests/privacy/wpPrivacySendRequestConfirmationNotification.php

    r48848 r50969  
    33 * Test cases for the `_wp_privacy_send_request_confirmation_notification()` function.
    44 *
     5 * @package WordPress
     6 * @subpackage UnitTests
    57 * @since 4.9.8
    68 */
    79
    810/**
    9  * Tests_User_WpPrivacySendRequestConfirmationNotification class.
    10  *
    11  * @since 4.9.8
     11 * Tests_Privacy_wpPrivacySendRequestConfirmationNotification class.
    1212 *
    1313 * @group privacy
    1414 * @group user
    1515 * @covers ::_wp_privacy_send_request_confirmation_notification
     16 *
     17 * @since 4.9.8
    1618 */
    17 class Tests_User_WpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase {
     19class Tests_Privacy_wpPrivacySendRequestConfirmationNotification extends WP_UnitTestCase {
    1820    /**
    1921     * Reset the mocked PHPMailer instance before each test method.
Note: See TracChangeset for help on using the changeset viewer.