Skip to content

Commit

Permalink
Corrección de test
Browse files Browse the repository at this point in the history
  • Loading branch information
markalbrand56 committed Nov 19, 2023
1 parent 3c3d75a commit a6ebf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/tests/auth_student_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestNewStudent(t *testing.T) {

w := httptest.NewRecorder()

jsonData := `{"dpi": "101010101010", "nombre": "Estudiante", "apellido": "Prueba", "nacimiento": "01/01/2001", "correo": "estudiante@prueba.com", "telefono": "12345678", "carrera": 1, "semestre": 4, "contra": "estudianteprueba", "CV": "", "foto": "", "universidad": "Universidad del Valle de Guatemala"}`
jsonData := `{"dpi": "1010101010101", "nombre": "Estudiante", "apellido": "Prueba", "nacimiento": "01/01/2001", "correo": "estudiante@prueba.com", "telefono": "12345678", "carrera": 1, "semestre": 4, "contra": "estudianteprueba", "CV": "", "foto": "", "universidad": "Universidad del Valle de Guatemala"}`

body := bytes.NewBufferString(jsonData)

Expand Down

0 comments on commit a6ebf30

Please sign in to comment.