From bf25fc1490128d2b6d19a2f7a35cfde33d41545b Mon Sep 17 00:00:00 2001 From: Koen Eelen Date: Tue, 6 Aug 2024 13:46:37 +0200 Subject: [PATCH] fix tests --- .../Repositories/EloquentIntegrationRepositoryTest.php | 4 ++-- .../Repositories/EloquentUdbOrganizerRepositoryTest.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Domain/Integrations/Repositories/EloquentIntegrationRepositoryTest.php b/tests/Domain/Integrations/Repositories/EloquentIntegrationRepositoryTest.php index b05d60d79..763a6638b 100644 --- a/tests/Domain/Integrations/Repositories/EloquentIntegrationRepositoryTest.php +++ b/tests/Domain/Integrations/Repositories/EloquentIntegrationRepositoryTest.php @@ -18,7 +18,7 @@ use App\Domain\Integrations\Repositories\EloquentIntegrationRepository; use App\Domain\Integrations\Repositories\EloquentUdbOrganizerRepository; use App\Domain\Integrations\UdbOrganizer; -use App\Domain\Integrations\UdbOrganizerCollection; +use App\Domain\Integrations\UdbOrganizers; use App\Domain\Integrations\Website; use Illuminate\Database\Eloquent\ModelNotFoundException; use Illuminate\Foundation\Testing\RefreshDatabase; @@ -343,7 +343,7 @@ public function test_it_can_request_activation(): void $this->integrationRepository->save($searchIntegration); - $organizers = new UdbOrganizerCollection( + $organizers = new UdbOrganizers( [new UdbOrganizer( Uuid::uuid4(), Uuid::uuid4(), diff --git a/tests/Domain/Integrations/Repositories/EloquentUdbOrganizerRepositoryTest.php b/tests/Domain/Integrations/Repositories/EloquentUdbOrganizerRepositoryTest.php index 95e09c491..1e49a2a05 100644 --- a/tests/Domain/Integrations/Repositories/EloquentUdbOrganizerRepositoryTest.php +++ b/tests/Domain/Integrations/Repositories/EloquentUdbOrganizerRepositoryTest.php @@ -6,7 +6,7 @@ use App\Domain\Integrations\Repositories\EloquentUdbOrganizerRepository; use App\Domain\Integrations\UdbOrganizer; -use App\Domain\Integrations\UdbOrganizerCollection; +use App\Domain\Integrations\UdbOrganizers; use Illuminate\Foundation\Testing\RefreshDatabase; use Ramsey\Uuid\Uuid; use Tests\TestCase; @@ -51,7 +51,7 @@ public function testCreate(): void public function testCreateInBulk(): void { - $organizers = new UdbOrganizerCollection([ + $organizers = new UdbOrganizers([ $this->organizer1, $this->organizer2, ]);