diff --git a/composer.json b/composer.json index 2cbadf8..4c62f35 100644 --- a/composer.json +++ b/composer.json @@ -29,5 +29,11 @@ "psr-4": { "ArrayAccess\\DnsRecord\\": "src/" } + }, + "autoload-dev": { + "psr-4": { + "ArrayAccess\\DnsRecord\\": "src/", + "Tests\\ArrayAccess\\DnsRecord\\": "tests/" + } } } diff --git a/tests/ArrayAccess/DnsRecord/Tests/Cache/CacheStorageTest.php b/tests/Cache/CacheStorageTest.php similarity index 99% rename from tests/ArrayAccess/DnsRecord/Tests/Cache/CacheStorageTest.php rename to tests/Cache/CacheStorageTest.php index 3c7d585..7b12ca8 100644 --- a/tests/ArrayAccess/DnsRecord/Tests/Cache/CacheStorageTest.php +++ b/tests/Cache/CacheStorageTest.php @@ -1,7 +1,7 @@ assertTrue( - version_compare(phpversion(), '8.1', '>='), - sprintf( - 'Php version should greater than %s', - '8.1' - ) - ); - } - } -} diff --git a/tests/ArrayAccess/DnsRecord/Tests/DnsServerStorageTest.php b/tests/DnsServerStorageTest.php similarity index 99% rename from tests/ArrayAccess/DnsRecord/Tests/DnsServerStorageTest.php rename to tests/DnsServerStorageTest.php index b5ce217..e56aadc 100644 --- a/tests/ArrayAccess/DnsRecord/Tests/DnsServerStorageTest.php +++ b/tests/DnsServerStorageTest.php @@ -1,7 +1,7 @@