From cc3e1dd5fec8b5feb636162d742affb440e88260 Mon Sep 17 00:00:00 2001 From: gak Date: Tue, 20 Aug 2024 07:55:37 +1000 Subject: [PATCH] fix: integration --- backend/controller/cronjobs/cronjobs_integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/controller/cronjobs/cronjobs_integration_test.go b/backend/controller/cronjobs/cronjobs_integration_test.go index 33deb53f5..34ed96fc7 100644 --- a/backend/controller/cronjobs/cronjobs_integration_test.go +++ b/backend/controller/cronjobs/cronjobs_integration_test.go @@ -10,12 +10,12 @@ import ( "time" "github.com/alecthomas/assert/v2" - "github.com/alecthomas/types/optional" "github.com/benbjohnson/clock" db "github.com/TBD54566975/ftl/backend/controller/cronjobs/dal" parentdb "github.com/TBD54566975/ftl/backend/controller/dal" "github.com/TBD54566975/ftl/backend/controller/sql/sqltest" + "github.com/TBD54566975/ftl/internal/encryption" in "github.com/TBD54566975/ftl/internal/integration" "github.com/TBD54566975/ftl/internal/log" ) @@ -28,7 +28,7 @@ func TestServiceWithRealDal(t *testing.T) { conn := sqltest.OpenForTesting(ctx, t) dal := db.New(conn) - parentDAL, err := parentdb.New(ctx, conn, optional.None[string]()) + parentDAL, err := parentdb.New(ctx, conn, encryption.NewBuilder()) assert.NoError(t, err) // Using a real clock because real db queries use db clock