From 59141a38c9f7de2f9788d4ffa37332fc193ff3d3 Mon Sep 17 00:00:00 2001 From: smiley Date: Wed, 5 Oct 2022 20:15:15 +0200 Subject: [PATCH] :shower: fixed test classname --- tests/Data/AlphaNumTest.php | 2 +- tests/Data/ByteTest.php | 2 +- ...nterfaceTestAbstract.php => DataInterfaceTestAbstract.php} | 4 ++-- tests/Data/KanjiTest.php | 2 +- tests/Data/NumberTest.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) rename tests/Data/{DatainterfaceTestAbstract.php => DataInterfaceTestAbstract.php} (97%) diff --git a/tests/Data/AlphaNumTest.php b/tests/Data/AlphaNumTest.php index 444190ea0..b05190990 100644 --- a/tests/Data/AlphaNumTest.php +++ b/tests/Data/AlphaNumTest.php @@ -15,7 +15,7 @@ use chillerlan\QRCode\Data\AlphaNum; /** * Tests the AlphaNum class */ -final class AlphaNumTest extends DatainterfaceTestAbstract{ +final class AlphaNumTest extends DataInterfaceTestAbstract{ protected string $FQN = AlphaNum::class; protected string $testdata = '0 $%*+-./:'; diff --git a/tests/Data/ByteTest.php b/tests/Data/ByteTest.php index 3b3c02cea..3fe507856 100644 --- a/tests/Data/ByteTest.php +++ b/tests/Data/ByteTest.php @@ -15,7 +15,7 @@ use chillerlan\QRCode\Data\Byte; /** * Tests the Byte class */ -final class ByteTest extends DatainterfaceTestAbstract{ +final class ByteTest extends DataInterfaceTestAbstract{ protected string $FQN = Byte::class; protected string $testdata = '[¯\_(ツ)_/¯]'; diff --git a/tests/Data/DatainterfaceTestAbstract.php b/tests/Data/DataInterfaceTestAbstract.php similarity index 97% rename from tests/Data/DatainterfaceTestAbstract.php rename to tests/Data/DataInterfaceTestAbstract.php index 36810aaa1..99515229b 100644 --- a/tests/Data/DatainterfaceTestAbstract.php +++ b/tests/Data/DataInterfaceTestAbstract.php @@ -1,6 +1,6 @@ @@ -21,7 +21,7 @@ use function str_repeat; /** * The data interface test abstract */ -abstract class DatainterfaceTestAbstract extends TestCase{ +abstract class DataInterfaceTestAbstract extends TestCase{ protected ReflectionClass $reflection; protected QRData $QRData; diff --git a/tests/Data/KanjiTest.php b/tests/Data/KanjiTest.php index fc89851d0..22131b81b 100644 --- a/tests/Data/KanjiTest.php +++ b/tests/Data/KanjiTest.php @@ -15,7 +15,7 @@ use chillerlan\QRCode\Data\Kanji; /** * Tests the Kanji class */ -final class KanjiTest extends DatainterfaceTestAbstract{ +final class KanjiTest extends DataInterfaceTestAbstract{ protected string $FQN = Kanji::class; protected string $testdata = '茗荷茗荷茗荷茗荷茗荷'; diff --git a/tests/Data/NumberTest.php b/tests/Data/NumberTest.php index 73a398df5..4799e24ce 100644 --- a/tests/Data/NumberTest.php +++ b/tests/Data/NumberTest.php @@ -15,7 +15,7 @@ use chillerlan\QRCode\Data\Number; /** * Tests the Number class */ -final class NumberTest extends DatainterfaceTestAbstract{ +final class NumberTest extends DataInterfaceTestAbstract{ protected string $FQN = Number::class; protected string $testdata = '0123456789';