[PM-13014] - Add CanToggleStatus property to PolicyRepsonseModel based on Policy Validators #4940
54.54% of diff hit (target 42.56%)
View this Pull Request on Codecov
54.54% of diff hit (target 42.56%)
Annotations
Check warning on line 82 in src/Api/AdminConsole/Controllers/PoliciesController.cs
codecov / codecov/patch
src/Api/AdminConsole/Controllers/PoliciesController.cs#L81-L82
Added lines #L81 - L82 were not covered by tests
Check warning on line 99 in src/Api/AdminConsole/Controllers/PoliciesController.cs
codecov / codecov/patch
src/Api/AdminConsole/Controllers/PoliciesController.cs#L99
Added line #L99 was not covered by tests
Check warning on line 11 in src/Api/AdminConsole/Models/Response/Helpers/PolicyDetailResponses.cs
codecov / codecov/patch
src/Api/AdminConsole/Models/Response/Helpers/PolicyDetailResponses.cs#L11
Added line #L11 was not covered by tests
Check warning on line 14 in src/Api/AdminConsole/Models/Response/Helpers/PolicyDetailResponses.cs
codecov / codecov/patch
src/Api/AdminConsole/Models/Response/Helpers/PolicyDetailResponses.cs#L13-L14
Added lines #L13 - L14 were not covered by tests
Check warning on line 18 in src/Api/AdminConsole/Models/Response/Helpers/PolicyDetailResponses.cs
codecov / codecov/patch
src/Api/AdminConsole/Models/Response/Helpers/PolicyDetailResponses.cs#L17-L18
Added lines #L17 - L18 were not covered by tests
Check warning on line 44 in src/Api/AdminConsole/Public/Controllers/PoliciesController.cs
codecov / codecov/patch
src/Api/AdminConsole/Public/Controllers/PoliciesController.cs#L44
Added line #L44 was not covered by tests
Check warning on line 50 in src/Api/AdminConsole/Public/Controllers/PoliciesController.cs
codecov / codecov/patch
src/Api/AdminConsole/Public/Controllers/PoliciesController.cs#L50
Added line #L50 was not covered by tests
Check warning on line 65 in src/Api/AdminConsole/Public/Controllers/PoliciesController.cs
codecov / codecov/patch
src/Api/AdminConsole/Public/Controllers/PoliciesController.cs#L65
Added line #L65 was not covered by tests
Check warning on line 14 in src/Core/AdminConsole/Models/Api/Response/PolicyDetailResponseModel.cs
codecov / codecov/patch
src/Core/AdminConsole/Models/Api/Response/PolicyDetailResponseModel.cs#L11-L14
Added lines #L11 - L14 were not covered by tests
codecov / codecov/patch
src/Core/AdminConsole/OrganizationFeatures/Policies/PolicyValidators/SingleOrgPolicyValidator.cs#L113-L114
Added lines #L113 - L114 were not covered by tests