From 7d2d8267bdb629fa2dae30662a1d3df01d8c00fe Mon Sep 17 00:00:00 2001 From: hellofromtonya Date: Wed, 31 Jan 2024 08:25:10 -0600 Subject: [PATCH] Rename test file to match func, class, or method. Per the WordPress Core coding standards, test files should be named according to the function, class, or method under test within its test class. Function under test: wpFunctioName.php Class under test: wpClassName.php Method under test: wpClassName/methodName.php See https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/#naming-and-organization. --- phpunit/tests/fonts/font-library/{fontsDir.php => wpFontsDir.php} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename phpunit/tests/fonts/font-library/{fontsDir.php => wpFontsDir.php} (100%) diff --git a/phpunit/tests/fonts/font-library/fontsDir.php b/phpunit/tests/fonts/font-library/wpFontsDir.php similarity index 100% rename from phpunit/tests/fonts/font-library/fontsDir.php rename to phpunit/tests/fonts/font-library/wpFontsDir.php