Skip to content

Commit

Permalink
Create project for every organisation
Browse files Browse the repository at this point in the history
Signed-off-by: Yashvi Jain <Yashvi.jain@progress.com>
  • Loading branch information
Yashvi Jain authored and Yashvi Jain committed Jan 6, 2022
1 parent b56ec0e commit cd7e20d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/infra-proxy-service/test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ func SetupInfraProxyService(ctx context.Context,

authzClient := authz.NewAuthorizationServiceClient(authzConn)

authzProjectClient := authz.NewProjectsServiceClient(authzConn)

secretsClient := secrets.NewMockSecretsServiceClient(gomock.NewController(t))

l, err := logger.NewLogger("text", "debug")
Expand All @@ -120,7 +122,7 @@ func SetupInfraProxyService(ctx context.Context,
migrationConfig, err := migrationConfigIfPGTestsToBeRun(l, "../storage/postgres/migration/sql")
require.NoError(t, err)

serviceRef, err := service.Start(l, *migrationConfig, connFactory, secretsClient, authzClient)
serviceRef, err := service.Start(l, *migrationConfig, connFactory, secretsClient, authzClient, authzProjectClient)

if err != nil {
t.Fatalf("could not create server: %s", err)
Expand Down

0 comments on commit cd7e20d

Please sign in to comment.