fix(caldav): init logger in tests

This commit is contained in:
kolaente
2025-12-04 11:10:19 +01:00
parent da0822c3f4
commit 112df4a752

View File

@@ -17,14 +17,26 @@
package caldav
import (
"os"
"testing"
"time"
"code.vikunja.io/api/pkg/config"
"code.vikunja.io/api/pkg/log"
"code.vikunja.io/api/pkg/models"
"gopkg.in/d4l3k/messagediff.v1"
)
func TestMain(m *testing.M) {
// Initialize logger for tests
log.InitLogger()
// Run tests
code := m.Run()
os.Exit(code)
}
func TestParseTaskFromVTODO(t *testing.T) {
type args struct {
content string