From 2232eff7be94b2add25e1e823ed71052a3bdfb86 Mon Sep 17 00:00:00 2001 From: ARCANEDEV Date: Mon, 18 Mar 2024 23:36:47 +0000 Subject: [PATCH] Fixing the tests --- phpunit.xml.dist | 17 ++++++++++------- ...tStoreTest.php => AbstractStoreTestCase.php} | 2 +- tests/Stores/ArrayStoreTest.php | 2 +- tests/Stores/DatabaseStoreTest.php | 2 +- tests/Stores/JsonStoreTest.php | 2 +- tests/Stores/RedisStoreTest.php | 2 +- 6 files changed, 15 insertions(+), 12 deletions(-) rename tests/Stores/{AbstractStoreTest.php => AbstractStoreTestCase.php} (99%) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0860283..e91e6ed 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,16 +1,19 @@ - - - - ./src - - + - ./tests + ./tests + + src + diff --git a/tests/Stores/AbstractStoreTest.php b/tests/Stores/AbstractStoreTestCase.php similarity index 99% rename from tests/Stores/AbstractStoreTest.php rename to tests/Stores/AbstractStoreTestCase.php index d06d125..edd3aec 100644 --- a/tests/Stores/AbstractStoreTest.php +++ b/tests/Stores/AbstractStoreTestCase.php @@ -15,7 +15,7 @@ * * @author ARCANEDEV */ -abstract class AbstractStoreTest extends TestCase +abstract class AbstractStoreTestCase extends TestCase { /* ----------------------------------------------------------------- | Main Methods diff --git a/tests/Stores/ArrayStoreTest.php b/tests/Stores/ArrayStoreTest.php index 648a7b5..4175219 100644 --- a/tests/Stores/ArrayStoreTest.php +++ b/tests/Stores/ArrayStoreTest.php @@ -11,7 +11,7 @@ * * @author ARCANEDEV */ -class ArrayStoreTest extends AbstractStoreTest +class ArrayStoreTest extends AbstractStoreTestCase { /* ----------------------------------------------------------------- | Main Methods diff --git a/tests/Stores/DatabaseStoreTest.php b/tests/Stores/DatabaseStoreTest.php index be429f6..9e537eb 100644 --- a/tests/Stores/DatabaseStoreTest.php +++ b/tests/Stores/DatabaseStoreTest.php @@ -12,7 +12,7 @@ * * @author ARCANEDEV */ -class DatabaseStoreTest extends AbstractStoreTest +class DatabaseStoreTest extends AbstractStoreTestCase { /* ----------------------------------------------------------------- | Main Methods diff --git a/tests/Stores/JsonStoreTest.php b/tests/Stores/JsonStoreTest.php index ae0596a..1a74938 100644 --- a/tests/Stores/JsonStoreTest.php +++ b/tests/Stores/JsonStoreTest.php @@ -9,7 +9,7 @@ * * @author ARCANEDEV */ -class JsonStoreTest extends AbstractStoreTest +class JsonStoreTest extends AbstractStoreTestCase { /* ----------------------------------------------------------------- | Main Methods diff --git a/tests/Stores/RedisStoreTest.php b/tests/Stores/RedisStoreTest.php index acd6a5f..e360524 100644 --- a/tests/Stores/RedisStoreTest.php +++ b/tests/Stores/RedisStoreTest.php @@ -9,7 +9,7 @@ * * @author ARCANEDEV */ -class RedisStoreTest extends AbstractStoreTest +class RedisStoreTest extends AbstractStoreTestCase { /* ----------------------------------------------------------------- | Main Methods