Skip to content

Commit

Permalink
Update tests setting
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypostal committed Aug 17, 2024
1 parent 649172a commit 4282d2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</testsuite>
</testsuites>

<coverage/>
<coverage includeUncoveredFiles="false"/>

<source>
<include>
Expand Down
4 changes: 2 additions & 2 deletions tests/HydratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

use Andrey\JsonHandler\JsonHandler;
use Andrey\JsonHandler\JsonHydratorTrait;
use PHPUnit\Framework\Attributes\CoversMethod;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\UsesClass;
use PHPUnit\Framework\TestCase;

#[CoversTrait(JsonHydratorTrait::class)]
#[UsesClass(JsonHandler::class)]
#[CoversMethod(JsonHandler::class, 'Decode')]
final class HydratorTest extends TestCase
{
/**
Expand Down
4 changes: 2 additions & 2 deletions tests/SerializerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
use Andrey\JsonHandler\JsonHandler;
use Andrey\JsonHandler\JsonItemAttribute;
use Andrey\JsonHandler\JsonSerializerTrait;
use PHPUnit\Framework\Attributes\CoversMethod;
use PHPUnit\Framework\Attributes\CoversTrait;
use PHPUnit\Framework\Attributes\UsesClass;
use PHPUnit\Framework\TestCase;

#[CoversTrait(JsonSerializerTrait::class)]
#[UsesClass(JsonHandler::class)]
#[CoversMethod(JsonHandler::class, 'Encode')]
final class SerializerTest extends TestCase
{
/**
Expand Down

0 comments on commit 4282d2c

Please sign in to comment.