diff --git a/internal/testhelpers/janitor_session_test_helper.go b/internal/testhelpers/janitor_session_test_helper.go index 8b9c0b8a463..2d1b682bb81 100644 --- a/internal/testhelpers/janitor_session_test_helper.go +++ b/internal/testhelpers/janitor_session_test_helper.go @@ -3,13 +3,15 @@ package testhelpers import ( "context" "fmt" + "testing" + "time" + + "github.com/stretchr/testify/require" + "github.com/ory/hydra/client" "github.com/ory/hydra/consent" "github.com/ory/hydra/driver" "github.com/ory/x/sqlxx" - "github.com/stretchr/testify/require" - "testing" - "time" ) type JanitorSessionTestHelper struct { diff --git a/persistence/sql/persister_consent.go b/persistence/sql/persister_consent.go index 8494a6ba789..50184d9a291 100644 --- a/persistence/sql/persister_consent.go +++ b/persistence/sql/persister_consent.go @@ -7,6 +7,8 @@ import ( "time" "github.com/gobuffalo/pop/v6" + "github.com/pkg/errors" + "github.com/ory/fosite" "github.com/ory/hydra/client" "github.com/ory/hydra/consent" @@ -14,7 +16,6 @@ import ( "github.com/ory/x/errorsx" "github.com/ory/x/sqlcon" "github.com/ory/x/sqlxx" - "github.com/pkg/errors" ) var _ consent.Manager = &Persister{}