Skip to content

Commit

Permalink
include encryption builder in parent dal (rebase issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
safeer committed Aug 21, 2024
1 parent 33a2e19 commit 8c24982
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/controller/cronjobs/cronjobs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (

"github.com/alecthomas/assert/v2"
"github.com/alecthomas/types/either"
"github.com/alecthomas/types/optional"
"github.com/benbjohnson/clock"

"github.com/TBD54566975/ftl/backend/controller/cronjobs/sql"
Expand All @@ -18,6 +17,7 @@ import (
dalerrs "github.com/TBD54566975/ftl/backend/dal"
"github.com/TBD54566975/ftl/backend/schema"
"github.com/TBD54566975/ftl/internal/cron"
"github.com/TBD54566975/ftl/internal/encryption"
"github.com/TBD54566975/ftl/internal/log"
"github.com/TBD54566975/ftl/internal/model"
)
Expand All @@ -35,7 +35,7 @@ func TestNewCronJobsForModule(t *testing.T) {
conn := sqltest.OpenForTesting(ctx, t)
dal := &DAL{db: sql.NewDB(conn)}

parentDAL, err := parentdal.New(ctx, conn, optional.None[string]())
parentDAL, err := parentdal.New(ctx, conn, encryption.NewBuilder())
assert.NoError(t, err)

moduleName := "initial"
Expand Down

0 comments on commit 8c24982

Please sign in to comment.