< Summary

Information
Class: Elsa.Testing.Shared.Services.TestTenantResolver
Assembly: Elsa.Testing.Shared.Component
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Testing.Shared.Component/Services/TestTenantResolver.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 1
Coverable lines: 1
Total lines: 11
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
Resolve(...)100%210%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Testing.Shared.Component/Services/TestTenantResolver.cs

#LineLine coverage
 1using Elsa.Common.Multitenancy;
 2
 3namespace Elsa.Testing.Shared.Services;
 4
 5public class TestTenantResolver : TenantResolverBase
 6{
 7    protected override TenantResolverResult Resolve(TenantResolverContext context)
 8    {
 09        return AutoResolve("Tenant1");
 10    }
 11}