diff --git a/phpunit.xml b/phpunit.xml index 681d5389f..5b22e513a 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,18 +1,21 @@ @@ -24,7 +27,7 @@ - + diff --git a/test/SmrTest/Container/ResettableContainerTraitTest.php b/test/SmrTest/Container/ResettableContainerTest.php similarity index 92% rename from test/SmrTest/Container/ResettableContainerTraitTest.php rename to test/SmrTest/Container/ResettableContainerTest.php index 8c9eb6c3b..d44dcc8a5 100644 --- a/test/SmrTest/Container/ResettableContainerTraitTest.php +++ b/test/SmrTest/Container/ResettableContainerTest.php @@ -2,13 +2,12 @@ namespace SmrTest\Container; -use PHPUnit\Framework\Attributes\CoversTrait; +use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; use Smr\Container\ResettableContainer; -use Smr\Container\ResettableContainerTrait; -#[CoversTrait(ResettableContainerTrait::class)] -class ResettableContainerTraitTest extends TestCase { +#[CoversClass(ResettableContainer::class)] +class ResettableContainerTest extends TestCase { public function test_not_initialized_by_definition(): void { $container = new ResettableContainer([