Skip to content

Add unit tests for PolicyDataValidator to validate minLength and minCโ€ฆ

fcc38f4
Select commit
Loading
Failed to load commit list.
Open

[PM-28842] Add validation to prevent excessive master password policy values #6807

Add unit tests for PolicyDataValidator to validate minLength and minCโ€ฆ
fcc38f4
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jan 8, 2026 in 1s

55.07% (+0.03%) compared to f2aa742

View this Pull Request on Codecov

55.07% (+0.03%) compared to f2aa742

Details

Codecov Report

โŒ Patch coverage is 83.33333% with 2 lines in your changes missing coverage. Please review.
โœ… Project coverage is 55.07%. Comparing base (f2aa742) to head (fcc38f4).
โš ๏ธ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...Core/AdminConsole/Utilities/PolicyDataValidator.cs 83.33% 0 Missing and 2 partials โš ๏ธ
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6807      +/-   ##
==========================================
+ Coverage   55.03%   55.07%   +0.03%     
==========================================
  Files        1934     1934              
  Lines       85581    85787     +206     
  Branches     7656     7677      +21     
==========================================
+ Hits        47098    47244     +146     
- Misses      36695    36751      +56     
- Partials     1788     1792       +4     

โ˜” View full report in Codecov by Sentry.
๐Ÿ“ข Have feedback on the report? Share it here.

๐Ÿš€ New features to boost your workflow:
  • โ„๏ธ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • ๐Ÿ“ฆ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.