test: add unit tests for domain and business logic #4

Merged
hermes merged 1 commits from add-unit-tests into master 2026-06-27 23:23:01 +00:00

1 Commits

Author SHA1 Message Date
50ee55d83d test: add unit tests for domain and business logic
Cover the in-memory mapper (count collection, GetCounts branches,
GetStats deep-copy), listCourse pagination loop, listCoursesStats
aggregation (by-org + mapper delegation), getCourse name resolution
and error wrapping, and createCourse(s) param mapping.

14 tests across 3 files. go vet clean.
2026-06-27 23:03:39 +00:00