-
Sub-task
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
None
-
False
-
No
-
---
-
---
-
MK - Sprint 224
WHAT
Increase unit test code coverage in pkg/db/migrations.go where possible or ignore this file, if writing unit tests for it is not feasible in the make test make target
To see which lines aren't covered in the pkg/db/migrations.go file run:
make test make test/html/coverage/report
IMPORTANT
Try to reuse code that exists in test/mocks/api_server.go or write object creation functions in the test/mocks/ or internal/kafka/test/mocks (if the test is in the internal package) instead of creating test objects in the individual test files. If objects required for testing aren't created in the test/mocks/api_server.go, feel free to create new file that will include reusable test stuff related to your tests