feat(ticket): add client and category fields to ticket resource and update related tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user