From 415c8074646cc3bacba0e1b112ef4c52a702e771 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Mon, 21 Oct 2024 09:22:07 +0300 Subject: [PATCH] include the Database in context --- internal/testutil/TestEngine.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/testutil/TestEngine.go b/internal/testutil/TestEngine.go index 2432a3f..75ac817 100644 --- a/internal/testutil/TestEngine.go +++ b/internal/testutil/TestEngine.go @@ -25,6 +25,7 @@ var ( func TestEngine(sessionId string) (engine.Engine, func(), chan bool) { ctx := context.Background() ctx = context.WithValue(ctx, "SessionId", sessionId) + ctx = context.WithValue(ctx, "Database", "gdbm") pfp := path.Join(scriptDir, "pp.csv") var eventChannel = make(chan bool)