From 906503dbfa0b5cce10816f8612046c9a31fd5822 Mon Sep 17 00:00:00 2001 From: Iraq Jaber Date: Mon, 2 Jun 2025 12:34:39 +0200 Subject: [PATCH] fixup! fixup! fixup! fixup! fixup! finished events tests --- backend/v3/storage/database/events_testing/instance_test.go | 1 + backend/v3/storage/database/repository/instance_test.go | 1 + backend/v3/storage/database/repository/user_test.go | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/backend/v3/storage/database/events_testing/instance_test.go b/backend/v3/storage/database/events_testing/instance_test.go index d655cbc2d1..0446130431 100644 --- a/backend/v3/storage/database/events_testing/instance_test.go +++ b/backend/v3/storage/database/events_testing/instance_test.go @@ -12,6 +12,7 @@ import ( "github.com/jackc/pgx/v5/pgxpool" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/zitadel/zitadel/backend/v3/storage/database" "github.com/zitadel/zitadel/backend/v3/storage/database/dialect/postgres" "github.com/zitadel/zitadel/backend/v3/storage/database/repository" diff --git a/backend/v3/storage/database/repository/instance_test.go b/backend/v3/storage/database/repository/instance_test.go index 435391640c..9a7410b5e9 100644 --- a/backend/v3/storage/database/repository/instance_test.go +++ b/backend/v3/storage/database/repository/instance_test.go @@ -8,6 +8,7 @@ import ( "github.com/brianvoe/gofakeit/v6" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/zitadel/zitadel/backend/v3/domain" "github.com/zitadel/zitadel/backend/v3/storage/database" "github.com/zitadel/zitadel/backend/v3/storage/database/repository" diff --git a/backend/v3/storage/database/repository/user_test.go b/backend/v3/storage/database/repository/user_test.go index 1953e48943..b25cdfd220 100644 --- a/backend/v3/storage/database/repository/user_test.go +++ b/backend/v3/storage/database/repository/user_test.go @@ -5,10 +5,11 @@ import ( "testing" "github.com/stretchr/testify/assert" + "go.uber.org/mock/gomock" + "github.com/zitadel/zitadel/backend/v3/storage/database" "github.com/zitadel/zitadel/backend/v3/storage/database/dbmock" "github.com/zitadel/zitadel/backend/v3/storage/database/repository" - "go.uber.org/mock/gomock" ) func TestQueryUser(t *testing.T) {