From 4d73a799f5707fc986fbcd66164096673691606c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Wed, 16 Apr 2025 15:19:25 +0200 Subject: [PATCH] Fix namespace of test classes Spotted with composer dump-autoload --strict-psr --optimize --- tests/Casts/EncryptionTest.php | 2 +- tests/DateTimeImmutableTest.php | 3 +-- tests/PropertyTest.php | 3 +-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/tests/Casts/EncryptionTest.php b/tests/Casts/EncryptionTest.php index 0c40254f1..acb7520cc 100644 --- a/tests/Casts/EncryptionTest.php +++ b/tests/Casts/EncryptionTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Casts; +namespace MongoDB\Laravel\Tests\Casts; use Illuminate\Database\Eloquent\Casts\Json; use Illuminate\Encryption\Encrypter; diff --git a/tests/DateTimeImmutableTest.php b/tests/DateTimeImmutableTest.php index a4dffb168..7fd6fa2b1 100644 --- a/tests/DateTimeImmutableTest.php +++ b/tests/DateTimeImmutableTest.php @@ -2,12 +2,11 @@ declare(strict_types=1); -namespace MongoDB\Laravel\Tests\Eloquent; +namespace MongoDB\Laravel\Tests; use Carbon\CarbonImmutable; use Illuminate\Support\Facades\Date; use MongoDB\Laravel\Tests\Models\Anniversary; -use MongoDB\Laravel\Tests\TestCase; use function assert; diff --git a/tests/PropertyTest.php b/tests/PropertyTest.php index c71fd68c9..67153006b 100644 --- a/tests/PropertyTest.php +++ b/tests/PropertyTest.php @@ -2,10 +2,9 @@ declare(strict_types=1); -namespace MongoDB\Laravel\Tests\Eloquent; +namespace MongoDB\Laravel\Tests; use MongoDB\Laravel\Tests\Models\HiddenAnimal; -use MongoDB\Laravel\Tests\TestCase; use function assert;