From 402e2e636b5124898cb82cba6a1c845526327688 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 22 Aug 2021 10:07:17 +0000 Subject: [PATCH] Tests: Rename classes in `phpunit/tests/feed/` 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], [51650]. See #53363. git-svn-id: https://develop.svn.wordpress.org/trunk@51651 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/feed/atom.php | 2 +- tests/phpunit/tests/feed/rss2.php | 2 +- .../tests/feed/{wp-simplepie-file.php => wpSimplePieFile.php} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename tests/phpunit/tests/feed/{wp-simplepie-file.php => wpSimplePieFile.php} (98%) diff --git a/tests/phpunit/tests/feed/atom.php b/tests/phpunit/tests/feed/atom.php index b54c3ae8f4209..3b2c82774965f 100644 --- a/tests/phpunit/tests/feed/atom.php +++ b/tests/phpunit/tests/feed/atom.php @@ -8,7 +8,7 @@ * * @group feed */ -class Tests_Feeds_Atom extends WP_UnitTestCase { +class Tests_Feed_Atom extends WP_UnitTestCase { public static $user_id; public static $posts; public static $category; diff --git a/tests/phpunit/tests/feed/rss2.php b/tests/phpunit/tests/feed/rss2.php index d2eea6bc6296e..50138cf255f39 100644 --- a/tests/phpunit/tests/feed/rss2.php +++ b/tests/phpunit/tests/feed/rss2.php @@ -8,7 +8,7 @@ * * @group feed */ -class Tests_Feeds_RSS2 extends WP_UnitTestCase { +class Tests_Feed_RSS2 extends WP_UnitTestCase { public static $user_id; public static $posts; public static $category; diff --git a/tests/phpunit/tests/feed/wp-simplepie-file.php b/tests/phpunit/tests/feed/wpSimplePieFile.php similarity index 98% rename from tests/phpunit/tests/feed/wp-simplepie-file.php rename to tests/phpunit/tests/feed/wpSimplePieFile.php index ada28f6451836..f9748e3a7bcac 100644 --- a/tests/phpunit/tests/feed/wp-simplepie-file.php +++ b/tests/phpunit/tests/feed/wpSimplePieFile.php @@ -15,7 +15,7 @@ * * @since 5.6.1 */ -class Tests_WP_SimplePie_File extends WP_UnitTestCase { +class Tests_Feed_wpSimplePieFile extends WP_UnitTestCase { public static function set_up_before_class() { parent::set_up_before_class();