From 302e9b7a5498ee64149511c76244c87c1b0fcb72 Mon Sep 17 00:00:00 2001 From: riabovvo Date: Mon, 11 Aug 2025 11:47:50 +0300 Subject: [PATCH] MSP-6038 update test for changes --- tests/auth_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/auth_test.go b/tests/auth_test.go index aef6caf..bd86fbc 100644 --- a/tests/auth_test.go +++ b/tests/auth_test.go @@ -5,6 +5,7 @@ import ( "fmt" "net/http" "net/http/httptest" + "net/url" "strconv" "sync/atomic" "testing" @@ -50,12 +51,13 @@ func (s *AuthTestSuite) SetupTest() { s.httpCli = httpcli.New() mocksrv, host := s.initMockSudir() + sudirHost, _ := url.JoinPath(host, "/blitz/") remote := conf.Remote{ SudirAuth: &conf.SudirAuth{ ClientId: "admin", ClientSecret: "admin", - Host: host, + Host: sudirHost, RedirectURI: "http://localhost", }, ExpireSec: 3600,