Implement unit tests for the Edit Analytics service. Completion of T327835: AQS 2.0: Implement Test Framework for Druid-based Endpoints is a prerequisite for beginning this task.
See T316849: Audit tests for Druid-based endpoints for a full list of existing production tests for Druid-based endpoints. Only the tests relevant to the Edit Analytics endpoints should be implemented, under this task. But because this is still a lengthy list of tests, we should consider breaking up this task and/or creating subtasks. However, we won't be ready for that conversation until we know more about how T327835: AQS 2.0: Implement Test Framework for Druid-based Endpoints is going to turn out.
Completion criteria: tests listed in T316849: Audit tests for Druid-based endpoints that are relevant to Edit Analytics are implemented. Checklist to be created later.
Update: some (most? all?) of the tests listed in the above referenced task are actually integration tests and not unit tests. Unit tests should have no dependencies. That is, they should execute without the associated testing environment/mock data set. We may need a new list of actual unit tests. Device Analytics can serve as inspiration.