Update filled internship types to match moodle ones #76

Merged
kadet merged 3 commits from kadet-patch-1 into master 2020-11-07 15:29:11 +01:00
Showing only changes of commit 74b003f015 - Show all commits

View File

@ -212,7 +212,7 @@ namespace InternshipSystem.Repository
}, },
new EditionInternshipType new EditionInternshipType
{ {
InternshipType = Context.InternshipTypes.First(t => t.Label.Equals("Umowa zlecenia")) InternshipType = Context.InternshipTypes.First(t => t.Label.Equals("Umowa zlecenia (w tym B2B)"))
}, },
new EditionInternshipType new EditionInternshipType
{ {
@ -270,7 +270,7 @@ namespace InternshipSystem.Repository
}, },
new EditionInternshipType new EditionInternshipType
{ {
InternshipType = Context.InternshipTypes.First(t => t.Label.Equals("Umowa zlecenia")) InternshipType = Context.InternshipTypes.First(t => t.Label.Equals("Umowa zlecenia (w tym B2B)"))
}, },
new EditionInternshipType new EditionInternshipType
{ {
@ -347,7 +347,7 @@ namespace InternshipSystem.Repository
InternshipRegistration = new InternshipRegistration InternshipRegistration = new InternshipRegistration
{ {
Company = Context.Companies.First(c => c.Name.Equals("Asseco Poland")), Company = Context.Companies.First(c => c.Name.Equals("Asseco Poland")),
Type = Context.InternshipTypes.First(t => t.Label.Equals("Umowa zlecenie")), Type = Context.InternshipTypes.First(t => t.Label.Equals("Umowa zlecenia (w tym B2B)")),
Start = new DateTime(2000, 7, 1), Start = new DateTime(2000, 7, 1),
End = new DateTime(2000, 8, 30), End = new DateTime(2000, 8, 30),
State = DocumentState.Submitted, State = DocumentState.Submitted,