mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix flaky IP Filtering test (#26283)
This commit is contained in:
parent
64504b80e6
commit
45750dbfc6
@ -233,10 +233,6 @@ func Test_applyIPFilters(t *testing.T) {
|
||||
CloudCustomerInfo: model.CloudCustomerInfo{Email: "test@localhost"},
|
||||
}, nil)
|
||||
|
||||
cloudImpl := th.App.Srv().Cloud
|
||||
defer func() {
|
||||
th.App.Srv().Cloud = cloudImpl
|
||||
}()
|
||||
th.App.Srv().Cloud = cloud
|
||||
|
||||
th.Client.Login(context.Background(), th.SystemAdminUser.Email, th.SystemAdminUser.Password)
|
||||
|
Loading…
Reference in New Issue
Block a user