MSP-5093 remove global varibale

This commit is contained in:
komissarovyv committed 2025-03-26 11:28:43 +03:00
1 parent 055921d711
commit 46fc51275e
8 files changed
+23 -19

No files matched your search

+2 -1
View File
@@ -3,6 +3,7 @@ package tests_test
import (
"context"
"testing"
"time"
"github.com/stretchr/testify/suite"
"github.com/txix-open/isp-kit/dbx"
@@ -39,7 +40,7 @@ func (s *CustomizationTestSuite) SetupTest() {
ExpireSec: 0,
}
cfg := assembly.NewLocator(testInstance.Logger(), nil, s.db).
Config(context.Background(), emptyLdap, remote)
Config(context.Background(), emptyLdap, remote, time.Minute)
server, apiCli := grpct.TestServer(testInstance, cfg.Handler)
s.grpcCli = apiCli