Energinet-DataHub / ARCHIVED-geh-charges

Apache License 2.0
7 stars 3 forks source link

fix: unknown resolution in validation do not throw an exception #1852

Closed x-platformcoder closed 1 year ago

x-platformcoder commented 1 year ago

Description

unknown resolution in validation do not throw an exception for rule "NumberOfPointsMatchTimeIntervalAndResolutionRule"

References

codecov[bot] commented 1 year ago

Codecov Report

Merging #1852 (d22191d) into main (e63a7da) will decrease coverage by 0.71%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #1852      +/-   ##
==========================================
- Coverage   84.67%   83.96%   -0.72%     
==========================================
  Files         469      448      -21     
  Lines        8158     7931     -227     
  Branches      433       22     -411     
==========================================
- Hits         6908     6659     -249     
+ Misses       1164     1151      -13     
- Partials       86      121      +35     
Flag Coverage Δ
business 87.74% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...ChargePriceOperationInputValidationRulesFactory.cs 100.00% <100.00%> (ø)
...umberOfPointsMatchTimeIntervalAndResolutionRule.cs 100.00% <100.00%> (ø)
...utValidation/ValidationRules/PointsRequiredRule.cs 100.00% <100.00%> (ø)
...Hub/Models/Shared/CimValidationErrorCodeFactory.cs 100.00% <100.00%> (ø)
...ergyHub.Charges.Domain/Charges/ChargeIdentifier.cs 0.00% <0.00%> (-100.00%) :arrow_down:
...ain/Dtos/Events/MarketParticipantCreatedCommand.cs 14.28% <0.00%> (-85.72%) :arrow_down:
...es.Domain/Dtos/Events/GridAreaOwnerAddedCommand.cs 33.33% <0.00%> (-66.67%) :arrow_down:
...Dtos/Events/MarketParticipantNameChangedCommand.cs 33.33% <0.00%> (-66.67%) :arrow_down:
...os/Events/MarketParticipantStatusChangedCommand.cs 33.33% <0.00%> (-66.67%) :arrow_down:
...vents/MarketParticipantB2CActorIdChangedCommand.cs 33.33% <0.00%> (-66.67%) :arrow_down:
... and 73 more

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

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication