< Summary

Information
Class: Elsa.Identity.Endpoints.Secrets.Hash.RequestValidator
Assembly: Elsa.Identity
File(s): /home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Secrets/Hash/Validators.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 3
Coverable lines: 3
Total lines: 14
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/modules/Elsa.Identity/Endpoints/Secrets/Hash/Validators.cs

#LineLine coverage
 1using FastEndpoints;
 2using FluentValidation;
 3using JetBrains.Annotations;
 4
 5namespace Elsa.Identity.Endpoints.Secrets.Hash;
 6
 7[PublicAPI]
 8internal class RequestValidator : Validator<Request>
 9{
 010    public RequestValidator()
 11    {
 012        RuleFor(x => x.Secret).NotEmpty();
 013    }
 14}

Methods/Properties

.ctor()