Skip to content

Commit

Permalink
Fixing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Mar 18, 2024
1 parent 0b1f566 commit 2232eff
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
17 changes: 10 additions & 7 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" cacheDirectory=".phpunit.cache">
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="./vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
>
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests</directory>
<directory>./tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<report>
<clover outputFile="build/coverage/clover.xml"/>
<html outputDirectory="build/coverage/html"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*
* @author ARCANEDEV <[email protected]>
*/
abstract class AbstractStoreTest extends TestCase
abstract class AbstractStoreTestCase extends TestCase
{
/* -----------------------------------------------------------------
| Main Methods
Expand Down
2 changes: 1 addition & 1 deletion tests/Stores/ArrayStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author ARCANEDEV <[email protected]>
*/
class ArrayStoreTest extends AbstractStoreTest
class ArrayStoreTest extends AbstractStoreTestCase
{
/* -----------------------------------------------------------------
| Main Methods
Expand Down
2 changes: 1 addition & 1 deletion tests/Stores/DatabaseStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*
* @author ARCANEDEV <[email protected]>
*/
class DatabaseStoreTest extends AbstractStoreTest
class DatabaseStoreTest extends AbstractStoreTestCase
{
/* -----------------------------------------------------------------
| Main Methods
Expand Down
2 changes: 1 addition & 1 deletion tests/Stores/JsonStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author ARCANEDEV <[email protected]>
*/
class JsonStoreTest extends AbstractStoreTest
class JsonStoreTest extends AbstractStoreTestCase
{
/* -----------------------------------------------------------------
| Main Methods
Expand Down
2 changes: 1 addition & 1 deletion tests/Stores/RedisStoreTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author ARCANEDEV <[email protected]>
*/
class RedisStoreTest extends AbstractStoreTest
class RedisStoreTest extends AbstractStoreTestCase
{
/* -----------------------------------------------------------------
| Main Methods
Expand Down

0 comments on commit 2232eff

Please sign in to comment.