wordpress-develop/tests/phpunit/tests/privacy
Jonathan Desrosiers b66ae2b4c1 Privacy: Allow new requests to be created after a user’s existing one has been completed.
When dealing with personal data exports and erasure requests, it is important to have a log of all the requests for a specific person. This is often required to confirm when and how many times requests were completed and fulfilled properly. 

This change allows a new request to be created after a previous data request has reached completed status (`request-completed`) instead of requiring admins to delete or re-initiate the existing request. The latter approach removes the historical log of requests for that user when creating a new request.

Full unit tests for the `wp_create_user_request()` function are also included.

Props garrett-eclipse, cc0a, birgire, desrosj.
Fixes #44707.

git-svn-id: https://develop.svn.wordpress.org/trunk@44906 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-15 16:26:55 +00:00
..
wpCreateUserRequest.php Privacy: Allow new requests to be created after a user’s existing one has been completed. 2019-03-15 16:26:55 +00:00
wpPrivacyCompletedRequest.php Privacy: Mark processed requests as completed instead of confirmed. 2018-05-08 23:28:47 +00:00
wpPrivacyDeleteOldExportFiles.php Privacy: Add test for wp_privacy_export_expiration filter. 2018-09-13 17:25:31 +00:00
wpPrivacyGeneratePersonalDataExportFile.php Privacy: Remove two test methods that fail on certain configurations. 2019-03-04 22:19:05 +00:00
wpPrivacyGeneratePersonalDataExportGroupHtml.php Privacy: Be less restrictive of the HTML tags allowed in user data exports. 2019-03-08 22:04:50 +00:00
wpPrivacyProcessPersonalDataExportPage.php Privacy: Add missing unit tests for exporting personal data. 2019-03-04 19:35:30 +00:00
wpPrivacySendErasureFulfillmentNotification.php Privacy: Add unit tests for privacy erasure fulfillment notifications. 2019-01-10 02:06:44 +00:00
wpPrivacySendPersonalDataExportEmail.php Privacy: Ensure the user request email is sent in the requested user's locale (or the site's default locale if they are not a registered user) when the administrator creating the request uses a different locale. 2018-08-13 16:31:31 +00:00
wpPrivacySendRequestConfirmationNotification.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:50:26 +00:00