67: Add languages to supervisors and add new student for submitting student idea.
This commit is contained in:
parent
f5c88c7b8e
commit
37b4e76ad2
@ -71,7 +71,7 @@ public class DataInitializer implements Lifecycle {
|
|||||||
private ProjectType bachelorClass;
|
private ProjectType bachelorClass;
|
||||||
private Set<ResearchArea> researchAreas;
|
private Set<ResearchArea> researchAreas;
|
||||||
private Long researchAreaId = RESEARCH_AREA_ID;
|
private Long researchAreaId = RESEARCH_AREA_ID;
|
||||||
private Set<Language> languages;
|
private Set<Language> languages = Set.of(Language.SWEDISH, Language.ENGLISH);
|
||||||
private ResearchArea researchArea1;
|
private ResearchArea researchArea1;
|
||||||
private ResearchArea researchArea2;
|
private ResearchArea researchArea2;
|
||||||
private ProjectType masterClass;
|
private ProjectType masterClass;
|
||||||
@ -180,6 +180,11 @@ public class DataInitializer implements Lifecycle {
|
|||||||
// can not be used as author on any idea
|
// can not be used as author on any idea
|
||||||
// can not be used as author on any project
|
// can not be used as author on any project
|
||||||
createStudent("Stig");
|
createStudent("Stig");
|
||||||
|
|
||||||
|
// Used to test assign supervisor to student idea
|
||||||
|
// this student has a submitted idea, which has not assigned supervisor
|
||||||
|
// don't use this student for anything else
|
||||||
|
createStudent("Sofia");
|
||||||
}
|
}
|
||||||
|
|
||||||
private User createStudent(String firstName) {
|
private User createStudent(String firstName) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user