diff --git a/sync/service/recur_test.go b/sync/service/recur_test.go index 2d7464e..98f4980 100644 --- a/sync/service/recur_test.go +++ b/sync/service/recur_test.go @@ -2,6 +2,7 @@ package main import ( "log/slog" + "os" "testing" "time" @@ -13,7 +14,7 @@ func TestRecur(t *testing.T) { now := time.Date(2024, 1, 1, 10, 0, 0, 0, time.UTC) mem := NewMemory() - rec := NewRecur(mem, mem, time.Second, slog.New()) + rec := NewRecur(mem, mem, time.Second, slog.New(slog.NewJSONHandler(os.Stdout, nil))) // Create a recurring item recur := &item.Recur{