< Summary

Information
Class: Syki.Front.Features.Adm.SetupFeatureFlags.SetupFeatureFlagsClient
Assembly: Front
File(s): /home/runner/work/syki/syki/Front/Features/Adm/SetupFeatureFlags/SetupFeatureFlagsClient.cs
Tag: 22_11348620282
Line coverage
0%
Covered lines: 0
Uncovered lines: 4
Coverable lines: 4
Total lines: 10
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%
Setup()100%210%

File(s)

/home/runner/work/syki/syki/Front/Features/Adm/SetupFeatureFlags/SetupFeatureFlagsClient.cs

#LineLine coverage
 1namespace Syki.Front.Features.Adm.SetupFeatureFlags;
 2
 03public class SetupFeatureFlagsClient(HttpClient http) : IAdmClient
 4{
 5    public async Task Setup(bool skipUserRegister, bool crossLogin)
 6    {
 07        var data = new SetupFeatureFlagsIn { SkipUserRegister = skipUserRegister, CrossLogin = crossLogin };
 08        await http.PutAsJsonAsync("/adm/feature-flags", data);
 09    }
 10}