Commit 1146136a by Rubén Ramírez

fix: [TestRecursoController]: Errata en un método

parent 567a164e
...@@ -1120,9 +1120,9 @@ public class TestRecursosController { ...@@ -1120,9 +1120,9 @@ public class TestRecursosController {
// Recurso no existente // Recurso no existente
reseña.setUsuarioId(1L); reseña.setUsuarioId(1L);
HttpEntity<DTOResena> entityRecursoFalso = new HttpEntity<>(reseña, authHeaders); HttpEntity<DTOResena> entityrecursofalso = new HttpEntity<>(reseña, authHeaders);
ResponseEntity<Void> respuesta404Recurso = restTemplate.exchange( ResponseEntity<Void> respuesta404Recurso = restTemplate.exchange(
"/recursos/9999/resenas", HttpMethod.POST, entityRecursoFalso, Void.class "/recursos/9999/resenas", HttpMethod.POST, entityrecursofalso, Void.class
); );
assertThat(respuesta404Recurso.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND); assertThat(respuesta404Recurso.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment