Skip to content

Commit

Permalink
fix: missed this one
Browse files Browse the repository at this point in the history
  • Loading branch information
gak committed Aug 14, 2024
1 parent 489c392 commit c64faf4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions backend/controller/cronjobs/cronjobs_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ import (
"testing"
"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"
in "github.com/TBD54566975/ftl/integration"
"github.com/TBD54566975/ftl/internal/log"
"github.com/alecthomas/assert/v2"
"github.com/benbjohnson/clock"
)

func TestServiceWithRealDal(t *testing.T) {
Expand All @@ -26,7 +28,7 @@ func TestServiceWithRealDal(t *testing.T) {

conn := sqltest.OpenForTesting(ctx, t)
dal := db.New(conn)
parentDAL, err := parentdb.New(ctx, conn, parentdb.NoOpEncryptors())
parentDAL, err := parentdb.New(ctx, conn, optional.None[string]())
assert.NoError(t, err)

// Using a real clock because real db queries use db clock
Expand Down

0 comments on commit c64faf4

Please sign in to comment.