mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-05-07 12:37:14 -05:00
GetMailDomain called log.Warningf which panics when the logger is not initialized (e.g. in unit tests). Add log.IsInitialized() guard. Also fix TestGetThreadID tests that hardcoded "vikunja" as the expected fallback domain - on CI the os.Hostname() fallback produces a different value. Tests now dynamically compute the expected domain.