SIMS
SIMS copied to clipboard
Feature/#4968 institution program restrictions UI
E2E Tests
- RestrictionAESTController(e2e)-addInstitutionRestriction.
- Should add an institution restriction when a valid payload is submitted.
- Should create the institution restriction when there is already an institution restriction, but it is inactive.
- Should throw an unprocessable entity exception when an active institution restriction already exists. (88 ms)
- Should throw a not found exception when the provided institution is not found.
- Should throw an unprocessable entity exception when the location does not exist associated with the institution.
- Should throw an unprocessable entity exception when the restriction ID does not exist.
- Should throw a forbidden exception when the user does not have permission.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Backend Unit Tests Coverage Report
| Totals | |
|---|---|
| Statements: | 20.62% ( 4294 / 20828 ) |
| Methods: | 9.87% ( 252 / 2554 ) |
| Lines: | 24.8% ( 3676 / 14822 ) |
| Branches: | 10.6% ( 366 / 3452 ) |
E2E Workflow Workers Coverage Report
| Totals | |
|---|---|
| Statements: | 75.39% ( 1054 / 1398 ) |
| Methods: | 79.31% ( 115 / 145 ) |
| Lines: | 78.77% ( 768 / 975 ) |
| Branches: | 61.51% ( 171 / 278 ) |
E2E Queue Consumers Coverage Report
| Totals | |
|---|---|
| Statements: | 85.47% ( 1559 / 1824 ) |
| Methods: | 84.76% ( 178 / 210 ) |
| Lines: | 88.39% ( 1241 / 1404 ) |
| Branches: | 66.67% ( 140 / 210 ) |
E2E SIMS API Coverage Report
| Totals | |
|---|---|
| Statements: | 74.78% ( 8448 / 11297 ) |
| Methods: | 74.33% ( 1002 / 1348 ) |
| Lines: | 78.92% ( 6158 / 7803 ) |
| Branches: | 60.02% ( 1288 / 2146 ) |