From 5c6842792abfef03f21cdec946fb9a92345f7f48 Mon Sep 17 00:00:00 2001 From: Erik Winter Date: Wed, 11 Dec 2024 08:42:28 +0100 Subject: [PATCH] test: Add initial test case for Recur service with memory and logger --- sync/service/recur_test.go | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/sync/service/recur_test.go b/sync/service/recur_test.go index 0fee6f5..edef11f 100644 --- a/sync/service/recur_test.go +++ b/sync/service/recur_test.go @@ -1 +1,14 @@ -package main_test +package main + +import ( + "log/slog" + "testing" + "time" +) + +func TestRecur(t *testing.T) { + t.Parallel() + + mem := NewMemory() + rec := NewRecur(mem, mem, time.Second, slog.New()) +}