From af0e1611533e738ef4e8059845723c60427e540f Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sat, 15 Feb 2025 11:14:25 +0100 Subject: [PATCH] [TASK] Move `DocumentTest` to unit tests Also fix some type annotation for the moved tests. Part of #758 --- tests/{ => Unit}/CSSList/DocumentTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename tests/{ => Unit}/CSSList/DocumentTest.php (95%) diff --git a/tests/CSSList/DocumentTest.php b/tests/Unit/CSSList/DocumentTest.php similarity index 95% rename from tests/CSSList/DocumentTest.php rename to tests/Unit/CSSList/DocumentTest.php index c7662e7b..58ef853d 100644 --- a/tests/CSSList/DocumentTest.php +++ b/tests/Unit/CSSList/DocumentTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Sabberworm\CSS\Tests\CSSList; +namespace Sabberworm\CSS\Tests\Unit\CSSList; use PHPUnit\Framework\TestCase; use Sabberworm\CSS\Comment\Commentable; @@ -50,7 +50,7 @@ public function getContentsInitiallyReturnsEmptyArray(): void } /** - * @return array>> + * @return array}> */ public static function contentsDataProvider(): array { @@ -64,7 +64,7 @@ public static function contentsDataProvider(): array /** * @test * - * @param array $contents + * @param list $contents * * @dataProvider contentsDataProvider */