Use MockVariableValue to avoid undesirable side effects between tests modifying global variables. TestToMessage relies on *setting.MailService being set, which will not be the case if run individually with test-sqlite#TestToMessage and fail.
Use MockVariableValue to avoid undesirable side effects between tests modifying global variables. TestToMessage relies on *setting.MailService being set, which will not be the case if run individually with test-sqlite#TestToMessage and fail.