feat(ticket): add client and category fields to ticket resource and update related tests

This commit is contained in:
2026-08-11 16:59:50 -03:00
parent 622a3eef86
commit cb98652e2f
3 changed files with 6 additions and 1 deletions

View File

@@ -161,6 +161,8 @@ class ScannerTicketControllerTest extends TestCase
->assertJsonPath('data.id', $ticket->id)
->assertJsonPath('data.ticket', $ticket->ticket)
->assertJsonPath('data.name', $ticket->name)
->assertJsonPath('data.client', $this->ticketOwner->nombre_apellido)
->assertJsonPath('data.category', $this->category->nombre)
->assertJsonPath('data.is_valid', true)
->assertJsonPath('data.is_used', false);
}