Context:
At one point we changed the creation endpoint for the combined report so that we can directly create a combined report with a fields being set. With OPT-2851 we added missing checks for the creation with the verifyValidReportCombination method in the ReportService. However, we forgot to test the creation in the same as the update endpoint.
AT:
- add missing tests for the combined report creation endpoint that validate that the combined contains combinable reports, the user is authorized to access them, etc.
Hint:
If possible use parameterized tests to avoid code test duplication.