From 70d1bcc3f4d7035013e793062f6fc7828c2ddd50 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 10 Jun 2022 13:48:40 +1200 Subject: [PATCH] MNT Rename test class to conform with standard naming convention --- .../{FileIDHelperTester.php => FileIDHelperTest.php} | 2 +- tests/php/FilenameParsing/HashFileIDHelperTest.php | 2 +- tests/php/FilenameParsing/LegacyFileIDHelperTest.php | 2 +- tests/php/FilenameParsing/MigrationLegacyFileIDHelperTest.php | 2 +- tests/php/FilenameParsing/NaturalFileIDHelperTest.php | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename tests/php/FilenameParsing/{FileIDHelperTester.php => FileIDHelperTest.php} (98%) diff --git a/tests/php/FilenameParsing/FileIDHelperTester.php b/tests/php/FilenameParsing/FileIDHelperTest.php similarity index 98% rename from tests/php/FilenameParsing/FileIDHelperTester.php rename to tests/php/FilenameParsing/FileIDHelperTest.php index 252e80f1..ba552d5b 100644 --- a/tests/php/FilenameParsing/FileIDHelperTester.php +++ b/tests/php/FilenameParsing/FileIDHelperTest.php @@ -9,7 +9,7 @@ * All the `FileIDHelper` have the exact same signature and very similar structure. Their basic tests will share the * same structure. */ -abstract class FileIDHelperTester extends SapphireTest +abstract class FileIDHelperTest extends SapphireTest { /** diff --git a/tests/php/FilenameParsing/HashFileIDHelperTest.php b/tests/php/FilenameParsing/HashFileIDHelperTest.php index f13194b5..b6b638d9 100644 --- a/tests/php/FilenameParsing/HashFileIDHelperTest.php +++ b/tests/php/FilenameParsing/HashFileIDHelperTest.php @@ -5,7 +5,7 @@ use SilverStripe\Assets\FilenameParsing\HashFileIDHelper; use SilverStripe\Assets\FilenameParsing\ParsedFileID; -class HashFileIDHelperTest extends FileIDHelperTester +class HashFileIDHelperTest extends FileIDHelperTest { protected function getHelper() diff --git a/tests/php/FilenameParsing/LegacyFileIDHelperTest.php b/tests/php/FilenameParsing/LegacyFileIDHelperTest.php index a176423a..aca645f3 100644 --- a/tests/php/FilenameParsing/LegacyFileIDHelperTest.php +++ b/tests/php/FilenameParsing/LegacyFileIDHelperTest.php @@ -4,7 +4,7 @@ use SilverStripe\Assets\FilenameParsing\LegacyFileIDHelper; use SilverStripe\Assets\FilenameParsing\ParsedFileID; -class LegacyFileIDHelperTest extends FileIDHelperTester +class LegacyFileIDHelperTest extends FileIDHelperTest { protected function getHelper() diff --git a/tests/php/FilenameParsing/MigrationLegacyFileIDHelperTest.php b/tests/php/FilenameParsing/MigrationLegacyFileIDHelperTest.php index f279f594..20a1269a 100644 --- a/tests/php/FilenameParsing/MigrationLegacyFileIDHelperTest.php +++ b/tests/php/FilenameParsing/MigrationLegacyFileIDHelperTest.php @@ -4,7 +4,7 @@ use SilverStripe\Assets\FilenameParsing\LegacyFileIDHelper; use SilverStripe\Assets\FilenameParsing\ParsedFileID; -class MigrationLegacyFileIDHelperTest extends FileIDHelperTester +class MigrationLegacyFileIDHelperTest extends FileIDHelperTest { protected function getHelper() diff --git a/tests/php/FilenameParsing/NaturalFileIDHelperTest.php b/tests/php/FilenameParsing/NaturalFileIDHelperTest.php index 075f3e0a..9e6bd3ad 100644 --- a/tests/php/FilenameParsing/NaturalFileIDHelperTest.php +++ b/tests/php/FilenameParsing/NaturalFileIDHelperTest.php @@ -4,7 +4,7 @@ use SilverStripe\Assets\FilenameParsing\NaturalFileIDHelper; use SilverStripe\Assets\FilenameParsing\ParsedFileID; -class NaturalFileIDHelperTest extends FileIDHelperTester +class NaturalFileIDHelperTest extends FileIDHelperTest { protected function getHelper()