Modificaciones para funcionamiento de seguridad

parent 2f44b761
...@@ -356,7 +356,7 @@ public class ControladorRESTTEST { ...@@ -356,7 +356,7 @@ public class ControladorRESTTEST {
Assertions.assertThat(respuestaA.getStatusCode()).isEqualTo(HttpStatus.OK); Assertions.assertThat(respuestaA.getStatusCode()).isEqualTo(HttpStatus.OK);
} }
@Test @Test
public void crearSolicitud() { public void solicitarViaje() {
Date fecha = new Date(2000, 12, 1); Date fecha = new Date(2000, 12, 1);
DTOUsuario usuario = new DTOUsuario("Fernando", "Alonso Diaz",fecha, "78162640S", 670988953, "hola@gmail.com", "1234", Usuario.Rol.CONDUCTOR); DTOUsuario usuario = new DTOUsuario("Fernando", "Alonso Diaz",fecha, "78162640S", 670988953, "hola@gmail.com", "1234", Usuario.Rol.CONDUCTOR);
ResponseEntity<DTOUsuario> respuesta = restTemplate.postForEntity ResponseEntity<DTOUsuario> respuesta = restTemplate.postForEntity
......
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