Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
95ce7af
HEEDLS-526 Create RegistrationData; make DelegateRegistrationData a s…
ibrahimmunir14 Jun 22, 2021
2bc90bb
HEEDLS-526 Create RegisterAdminController with Index and PersonalInfo…
ibrahimmunir14 Jun 22, 2021
951ad67
HEEDLS-526 Add RegisterAdmin LearnerInformation page
ibrahimmunir14 Jun 22, 2021
433a9a5
HEEDLS-526 Add RegisterAdmin Password page
ibrahimmunir14 Jun 22, 2021
fe1f412
HEEDLS-526 Add RegisterAdmin Summary page
ibrahimmunir14 Jun 22, 2021
d592330
HEEDLS-526 Add RegisterAdmin Confirmation page
ibrahimmunir14 Jun 22, 2021
a36387c
HEEDLS-526 Add method to get AutoRegister values to CentreDataService…
ibrahimmunir14 Jun 23, 2021
c6022f9
HEEDLS-526 Check if admin register is allowed for centre on Index GET…
ibrahimmunir14 Jun 23, 2021
2e9405b
HEEDLS-526 Add admin email address validation on PersonalInformation …
ibrahimmunir14 Jun 23, 2021
8617098
HEEDLS-526 Fix incorrect back links, update titles on RegisterAdmin p…
ibrahimmunir14 Jun 23, 2021
b359703
HEEDLS-526 Use email from model, not data, for validation
ibrahimmunir14 Jun 23, 2021
29b995c
HEEDLS-526 Update tests and encoding
ibrahimmunir14 Jun 25, 2021
1deb1b6
HEEDLS-526 Extract T&Cs form group into view component
ibrahimmunir14 Jun 28, 2021
b733e35
HEEDLS-526 Add type to PersonalInformation vc-text-inputs; fix page t…
ibrahimmunir14 Jun 28, 2021
896f801
Merge branch 'master' into HEEDLS-526-admin-registration-frontend
ibrahimmunir14 Jun 28, 2021
ea89b87
HEEDLS-526 Add NavMenuItems to AdminReg views; fix layout/spacing to …
ibrahimmunir14 Jun 28, 2021
379c104
HEEDLS-526 Use virtual & override SetLearnerInformation instead of de…
ibrahimmunir14 Jun 28, 2021
56a9aaf
HEEDLS-526 Rename helper methods in RegisterAdminController
ibrahimmunir14 Jun 28, 2021
24ee69c
HEEDLS-526 Add RegistrationData constructor accepting a centreId
ibrahimmunir14 Jun 28, 2021
e9063fa
HEEDLS-526 Create Controllers/Register folder; minor cosmetic changes
ibrahimmunir14 Jun 28, 2021
cc09014
HEEDLS-526 Move register mapping helpers into viewmodel constructors;…
ibrahimmunir14 Jun 29, 2021
82105de
HEEDLS-526 Refactor registration data mapping helper tests
ibrahimmunir14 Jun 29, 2021
a201845
HEEDLS-526 Minor syntax change
ibrahimmunir14 Jun 29, 2021
4ed693b
Merge branch 'master' into HEEDLS-526-admin-registration-frontend
ibrahimmunir14 Jun 29, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ end_of_line = crlf
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
encoding = utf-8-bom

# ReSharper properties
resharper_csharp_wrap_after_declaration_lpar = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,5 +230,16 @@ public void UpdateCentreWebsiteDetails_updates_centre()
transaction.Dispose();
}
}

[Test]
public void GetCentreAutoRegisterValues_should_return_correct_values()
{
// When
var result = centresDataService.GetCentreAutoRegisterValues(2);

// Then
result.autoRegistered.Should().BeTrue();
result.autoRegisterManagerEmail.Should().Be(".vhrnaui@bywdskc");
}
}
}
Loading