-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7955] Cross check bulk CSV trainee uploads (#4926)
* Add tests that cross-check CSV fields - check that all of the implementation field names are documented - check that all of the implementation field names are documented - check that all of the implementation field names are present as headers in the template CSV * Fix empty template CSV for bulk trainee upload Looks like these fields were split mistakenly * Correct documentation for Disability 1-9 * Fix names of fields in docs * Fix incorrect field id in docs * Appease Rubocop * Fix spec regression
- Loading branch information
Showing
4 changed files
with
136 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
spec/fixtures/files/bulk_update/trainee_uploads/five_trainees.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Provider Trainee ID,Application ID,HESA ID,First Names,Last Name,Previous Last Name,Date of Birth,NI Number,Sex,Email,Nationality,Ethnicity,Disability 1,Disability 2,Disability 3,Disability 4,Disability 5,Disability 6,Disability 7,Disability 8,Disability 9,ITT Aim,Training Route,Qualification Aim,Course Subject One,Course Subject Two,Course Subject Three,Study Mode,ITT Start Date,ITT End Date,Course Age Range,Course Year,Lead Partner URN,Employing School URN,Trainee Start Date,PG Apprenticeship,Start Date,Fund Code,Funding Method,Training Initiative,Additional Training Initiative | ||
1198477681,,60114404165089097,Jonas,Padberg,Koelpin,1964-03-07,,10,[email protected],GB,,,,,,,,,,,202,11,3,100511,,,63,2023-01-01,2023-10-01,13917,2023,,,,,,7,4,, | ||
6690742641,,71489126120547141,Myriam,Bruen,Stokes,1993-04-01,,10,[email protected],GB,,,,,,,,,,,201,11,8,100511,,,63,2023-01-01,2023-10-01,13918,2023,,,,,,7,4,, | ||
8920767048,,45471004454825701,Usha,Rolfson,Nikolaus,1989-08-12,,99,[email protected],GB,,,,,,,,,,,201,11,8,100511,,,63,2023-01-01,2023-10-01,13911,2023,,,,,,2,4,, | ||
7840305304,,57760321187383067,Fidel,Hessel,Mayert,1980-08-01,,11,[email protected],GB,,,,,,,,,,,201,11,28,100511,,,63,2023-01-01,2023-10-01,13915,2023,,,,,,2,4,, | ||
5112140029,,92670443173284377,Melony,Kilback,Schmidt,2001-08-29,,12,[email protected],GB,,,,,,,,,,,201,11,32,100511,,,63,2023-01-01,2023-10-01,13909,2023,,,,,,7,4,, | ||
Provider Trainee ID,Application ID,HESA ID,First Names,Last Name,Previous Last Name,Date of Birth,NI Number,Sex,Email,Nationality,Ethnicity,Disability 1,Disability 2,Disability 3,Disability 4,Disability 5,Disability 6,Disability 7,Disability 8,Disability 9,ITT Aim,Training Route,Qualification Aim,Course Subject One,Course Subject Two,Course Subject Three,Study Mode,ITT Start Date,ITT End Date,Course Age Range,Course Year,Lead Partner URN,Employing School URN,Trainee Start Date,PG Apprenticeship Start Date,Fund Code,Funding Method,Training Initiative,Additional Training Initiative | ||
1198477681,,60114404165089097,Jonas,Padberg,Koelpin,1964-03-07,,10,[email protected],GB,,,,,,,,,,,202,11,3,100511,,,63,2023-01-01,2023-10-01,13917,2023,,,,,7,4,, | ||
6690742641,,71489126120547141,Myriam,Bruen,Stokes,1993-04-01,,10,[email protected],GB,,,,,,,,,,,201,11,8,100511,,,63,2023-01-01,2023-10-01,13918,2023,,,,,7,4,, | ||
8920767048,,45471004454825701,Usha,Rolfson,Nikolaus,1989-08-12,,99,[email protected],GB,,,,,,,,,,,201,11,8,100511,,,63,2023-01-01,2023-10-01,13911,2023,,,,,2,4,, | ||
7840305304,,57760321187383067,Fidel,Hessel,Mayert,1980-08-01,,11,[email protected],GB,,,,,,,,,,,201,11,28,100511,,,63,2023-01-01,2023-10-01,13915,2023,,,,,2,4,, | ||
5112140029,,92670443173284377,Melony,Kilback,Schmidt,2001-08-29,,12,[email protected],GB,,,,,,,,,,,201,11,32,100511,,,63,2023-01-01,2023-10-01,13909,2023,,,,,7,4,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters