maykinmedia / django-digid-eherkenning

Django library to use DigiD or eHerkenning to authenticate users
MIT License
2 stars 0 forks source link

Add bsn validation to mock login form #47

Closed pi-sigma closed 1 year ago

pi-sigma commented 1 year ago

Added validation to mock login form that checks length and checksum of BSN

codecov[bot] commented 1 year ago

Codecov Report

Merging #47 (eda423f) into master (e919dd6) will decrease coverage by 0.41%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
- Coverage   96.20%   95.80%   -0.41%     
==========================================
  Files          66       67       +1     
  Lines        3032     3048      +16     
==========================================
+ Hits         2917     2920       +3     
- Misses        115      128      +13     
Files Coverage Δ
digid_eherkenning/mock/idp/forms.py 100.00% <100.00%> (ø)
digid_eherkenning/validators.py 100.00% <100.00%> (ø)
tests/test_mock_forms.py 100.00% <100.00%> (ø)
tests/test_mock_views.py 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more