Fix flaky IP Filtering test (#26283)
Этот коммит содержится в:
@@ -233,10 +233,6 @@ func Test_applyIPFilters(t *testing.T) {
|
|||||||
CloudCustomerInfo: model.CloudCustomerInfo{Email: "test@localhost"},
|
CloudCustomerInfo: model.CloudCustomerInfo{Email: "test@localhost"},
|
||||||
}, nil)
|
}, nil)
|
||||||
|
|
||||||
cloudImpl := th.App.Srv().Cloud
|
|
||||||
defer func() {
|
|
||||||
th.App.Srv().Cloud = cloudImpl
|
|
||||||
}()
|
|
||||||
th.App.Srv().Cloud = cloud
|
th.App.Srv().Cloud = cloud
|
||||||
|
|
||||||
th.Client.Login(context.Background(), th.SystemAdminUser.Email, th.SystemAdminUser.Password)
|
th.Client.Login(context.Background(), th.SystemAdminUser.Email, th.SystemAdminUser.Password)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user