From 16235d7b59936e5061cee35cf0971bc5505e4398 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:23:55 +0200 Subject: [PATCH] chore: synchronize workspaces --- .../code/strategy_recovery_admin_test.go | 10 ++++----- .../strategy/link/strategy_recovery_test.go | 21 ++++--------------- 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/selfservice/strategy/code/strategy_recovery_admin_test.go b/selfservice/strategy/code/strategy_recovery_admin_test.go index fc38c7c79c65..6b4174c13442 100644 --- a/selfservice/strategy/code/strategy_recovery_admin_test.go +++ b/selfservice/strategy/code/strategy_recovery_admin_test.go @@ -15,13 +15,7 @@ import ( "testing" "time" - "github.com/pkg/errors" - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "github.com/tidwall/gjson" - "github.com/ory/kratos/driver/config" - kratos "github.com/ory/client-go" "github.com/ory/kratos/identity" "github.com/ory/kratos/internal" kratos "github.com/ory/kratos/internal/httpclient" @@ -33,6 +27,10 @@ import ( "github.com/ory/x/ioutilx" "github.com/ory/x/pointerx" "github.com/ory/x/snapshotx" + "github.com/pkg/errors" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/tidwall/gjson" ) func TestAdminStrategy(t *testing.T) { diff --git a/selfservice/strategy/link/strategy_recovery_test.go b/selfservice/strategy/link/strategy_recovery_test.go index 50e439f41dc8..7f2d5dfb4e69 100644 --- a/selfservice/strategy/link/strategy_recovery_test.go +++ b/selfservice/strategy/link/strategy_recovery_test.go @@ -16,23 +16,6 @@ import ( "github.com/davecgh/go-spew/spew" "github.com/gofrs/uuid" - "github.com/pkg/errors" - - "github.com/ory/kratos/selfservice/flow" - "github.com/ory/kratos/selfservice/strategy/link" - - "github.com/ory/kratos/ui/node" - - kratos "github.com/ory/kratos/internal/httpclient" - - "github.com/ory/kratos/corpx" - - "github.com/ory/x/ioutilx" - - "github.com/stretchr/testify/assert" - "github.com/stretchr/testify/require" - "github.com/tidwall/gjson" - "github.com/ory/kratos/corpx" "github.com/ory/kratos/driver" "github.com/ory/kratos/driver/config" @@ -52,6 +35,10 @@ import ( "github.com/ory/x/pointerx" "github.com/ory/x/sqlxx" "github.com/ory/x/urlx" + "github.com/pkg/errors" + "github.com/stretchr/testify/assert" + "github.com/stretchr/testify/require" + "github.com/tidwall/gjson" ) func init() {