From 43a8715ded74b7920bd87f4bb6a93f04775305e7 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 21 Aug 2021 15:32:53 +0000 Subject: [PATCH] Tests: Rename classes in `phpunit/tests/error-protection/` 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], [50969], [51491], [51492], [51493], [51623], [51639], [51646]. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@51650 602fd350-edb4-49c9-b593-d223f7449a82 --- ...-mode-cookie-service.php => wpRecoveryModeCookieService.php} | 2 +- ...covery-mode-key-service.php => wpRecoveryModeKeyService.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/phpunit/tests/error-protection/{recovery-mode-cookie-service.php => wpRecoveryModeCookieService.php} (97%) rename tests/phpunit/tests/error-protection/{recovery-mode-key-service.php => wpRecoveryModeKeyService.php} (98%) diff --git a/tests/phpunit/tests/error-protection/recovery-mode-cookie-service.php b/tests/phpunit/tests/error-protection/wpRecoveryModeCookieService.php similarity index 97% rename from tests/phpunit/tests/error-protection/recovery-mode-cookie-service.php rename to tests/phpunit/tests/error-protection/wpRecoveryModeCookieService.php index e261645d0a..122a9193f2 100644 --- a/tests/phpunit/tests/error-protection/recovery-mode-cookie-service.php +++ b/tests/phpunit/tests/error-protection/wpRecoveryModeCookieService.php @@ -3,7 +3,7 @@ /** * @group error-protection */ -class Tests_Recovery_Mode_Cookie_Service extends WP_UnitTestCase { +class Tests_Error_Protection_wpRecoveryModeCookieService extends WP_UnitTestCase { /** * @ticket 46130 diff --git a/tests/phpunit/tests/error-protection/recovery-mode-key-service.php b/tests/phpunit/tests/error-protection/wpRecoveryModeKeyService.php similarity index 98% rename from tests/phpunit/tests/error-protection/recovery-mode-key-service.php rename to tests/phpunit/tests/error-protection/wpRecoveryModeKeyService.php index 66f15e6c1e..316655d7a3 100644 --- a/tests/phpunit/tests/error-protection/recovery-mode-key-service.php +++ b/tests/phpunit/tests/error-protection/wpRecoveryModeKeyService.php @@ -3,7 +3,7 @@ /** * @group error-protection */ -class Tests_Recovery_Mode_Key_Service extends WP_UnitTestCase { +class Tests_Error_Protection_wpRecoveryModeKeyService extends WP_UnitTestCase { /** * @ticket 46130