Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

fix tests

Dave Earley7b930fb302b8
diff --git a/backend/tests/Unit/Services/Handlers/Event/GetPublicEventHandlerTest.php b/backend/tests/Unit/Services/Handlers/Event/GetPublicEventHandlerTest.php
index 1a5baff04..2ceb332f3 100644
--- a/backend/tests/Unit/Services/Handlers/Event/GetPublicEventHandlerTest.php
+++ b/backend/tests/Unit/Services/Handlers/Event/GetPublicEventHandlerTest.php
@@ -86,7 +86,7 @@ class GetPublicEventHandlerTest extends TestCase
private function setupEventRepositoryMock($event, $eventId): void
{
- $this->eventRepository->shouldReceive('loadRelation')->andReturnSelf()->times(3);
+ $this->eventRepository->shouldReceive('loadRelation')->andReturnSelf()->times(4);
$this->eventRepository->shouldReceive('findById')->with($eventId)->andReturn($event);
}
}