From 328f24b748b3fad47bf748c52657db9190b032d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Wed, 11 Jan 2023 10:35:28 +0000 Subject: [PATCH] fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jörn Friedrich Dreyer --- services/graph/pkg/service/v0/application_test.go | 2 +- services/graph/pkg/service/v0/approleassignments_test.go | 2 +- services/graph/pkg/service/v0/groups_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/services/graph/pkg/service/v0/application_test.go b/services/graph/pkg/service/v0/application_test.go index 4961c0ea173..028ab59408c 100644 --- a/services/graph/pkg/service/v0/application_test.go +++ b/services/graph/pkg/service/v0/application_test.go @@ -59,7 +59,7 @@ var _ = Describe("Applications", func() { cfg.Application.ID = "some-application-ID" _ = ogrpc.Configure(ogrpc.GetClientOptions(cfg.GRPCClientTLS)...) - svc = service.NewService( + svc, _ = service.NewService( service.Config(cfg), service.WithGatewayClient(gatewayClient), service.EventsPublisher(&eventsPublisher), diff --git a/services/graph/pkg/service/v0/approleassignments_test.go b/services/graph/pkg/service/v0/approleassignments_test.go index 480063fd16f..807bbc1ceda 100644 --- a/services/graph/pkg/service/v0/approleassignments_test.go +++ b/services/graph/pkg/service/v0/approleassignments_test.go @@ -69,7 +69,7 @@ var _ = Describe("AppRoleAssignments", func() { cfg.Application.ID = "some-application-ID" _ = ogrpc.Configure(ogrpc.GetClientOptions(cfg.GRPCClientTLS)...) - svc = service.NewService( + svc, _ = service.NewService( service.Config(cfg), service.WithGatewayClient(gatewayClient), service.EventsPublisher(&eventsPublisher), diff --git a/services/graph/pkg/service/v0/groups_test.go b/services/graph/pkg/service/v0/groups_test.go index 10c341299eb..3904df68650 100644 --- a/services/graph/pkg/service/v0/groups_test.go +++ b/services/graph/pkg/service/v0/groups_test.go @@ -316,7 +316,7 @@ var _ = Describe("Groups", func() { Expect(err).ToNot(HaveOccurred()) cfg.API.GroupMembersPatchLimit = 21 - svc = service.NewService( + svc, _ = service.NewService( service.Config(cfg), service.WithGatewayClient(gatewayClient), service.EventsPublisher(&eventsPublisher),