feat(desfile): download reserved ticket PDF

This commit is contained in:
2026-09-24 10:27:15 -03:00
parent 0e870776c4
commit e72b6cfdde
4 changed files with 45 additions and 0 deletions

View File

@@ -353,6 +353,10 @@ class EntryReservationServiceTest extends TestCase
$report = new EntryReservationReportService;
$this->assertCount(1, $reservations);
$this->assertSame(
$reservations->sole()->ticket_id,
$service->reservationTicket($user, $reservations->sole()->id)->id,
);
$this->assertSame('Otro método', $report->rows($reservations)->sole()['pago']);
$pdf = (new EntryReservationPdfService($report))->download(