Merge pull request 'add new fields in tests' (#520) from jmplace/ScoDoc-Lille:fix_tests_9.4 into master

Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/520
This commit is contained in:
Emmanuel Viennet 2022-11-02 09:03:33 +01:00
commit 64077e6e5e
2 changed files with 74 additions and 69 deletions

View File

@ -1,19 +1,19 @@
reference url permission method content
departements /departements ScoView GET
departements-ids /departements_ids ScoView GET
departement /departement/TAPI ScoView GET
departement /departement/id/1 ScoView GET
departement-etudiants /departement/TAPI/etudiants ScoView GET
departement-etudiants /departement/id/1/etudiants ScoView GET
departement-formsemestres_ids /departement/TAPI/formsemestres_ids ScoView GET
departement-formsemestres_ids /departement/id/1/formsemestres_ids ScoView GET
departement-formsemestres-courants /departement/TAPI/formsemestres_courants?faked_date=2022-07-20 ScoView GET
departement-formsemestres-courants /departement/id/1/formsemestres_courants?faked_date=2022-07-20 ScoView GET
departements /departements GET
departements-ids /departements_ids GET
departement /departement/TAPI GET
departement /departement/id/1 GET
departement-etudiants /departement/TAPI/etudiants GET
departement-etudiants /departement/id/1/etudiants GET
departement-formsemestres_ids /departement/TAPI/formsemestres_ids GET
departement-formsemestres_ids /departement/id/1/formsemestres_ids GET
departement-formsemestres-courants /departement/TAPI/formsemestres_courants GET
departement-formsemestres-courants /departement/id/1/formsemestres_courants GET
departement-create /departement/create ScoSuperAdmin POST {"acronym": "NEWONE" , "visible": true}
departement-edit /departement/NEWONE/edit ScoSuperAdmin POST {"visible": false}
departement-delete /departement/NEWONE/delete ScoSuperAdmin POST
etudiants-courants /etudiants/courants?faked_date=2022-07-20 ScoView GET
etudiants-courants /etudiants/courants/long?faked_date=2022-07-20 ScoView GET
etudiants-courants /etudiants/courants?date_courante=2022-07-20 ScoView GET
etudiants-courants /etudiants/courants/long?date_courante=2022-07-20 ScoView GET
etudiant /etudiant/etudid/11 ScoView GET
etudiant /etudiant/nip/11 ScoView GET
etudiant /etudiant/ine/INE11 ScoView GET

Can't render this file because it contains an unexpected character in line 12 and column 60.

View File

@ -153,13 +153,18 @@ FORMSEMESTRE_FIELDS = [
"semestre_id",
"bul_hide_xml",
"elt_annee_apo",
"block_moyennes",
"block_moyenne_generale" "formsemestre_id",
"block_moyenne_generale",
"formsemestre_id",
"titre_num",
"titre_formation",
"date_debut_iso",
"date_fin_iso",
"responsables",
"parcours",
"departement",
"formation",
"etape_apo",
"block_moyennes",
]
FSEM_FIELDS = {