Skip to content

Ticket — Implementar tests de controlador #19

@alopezdeharo

Description

@alopezdeharo

(Esta es la Issue #4 renombrada)

TicketControllerTest existe pero los tests están vacíos y faltan todas las anotaciones necesarias. Añadir

@SpringBootTest
@AutoConfigureMockMvc
@Transactional

E inyectar con el autowired:

MockMvc mockMvc;
TicketRepository ticketRepository;

Tests a implementar los endpoints del controller

Referencia: ver MovieControllerTest o RoomControllerTest.

Metadata

Metadata

Assignees

Labels

testingrelacionados con test y pruebas

Type

No type
No fields configured for issues without a type.

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions