mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
Fixup: app_test: remove unused search engine initialization (#17718)
Automatic Merge
This commit is contained in:
parent
bbebd14296
commit
030543fed9
1 changed files with 0 additions and 4 deletions
|
|
@ -13,7 +13,6 @@ import (
|
|||
"github.com/stretchr/testify/mock"
|
||||
|
||||
"github.com/mattermost/mattermost-server/v5/model"
|
||||
"github.com/mattermost/mattermost-server/v5/services/searchengine/bleveengine"
|
||||
"github.com/mattermost/mattermost-server/v5/store/storetest/mocks"
|
||||
)
|
||||
|
||||
|
|
@ -41,9 +40,6 @@ func init() {
|
|||
func TestUnitUpdateConfig(t *testing.T) {
|
||||
th := SetupWithStoreMock(t)
|
||||
defer th.TearDown()
|
||||
bleveEngine := bleveengine.NewBleveEngine(th.App.Config(), th.App.Srv().Jobs)
|
||||
_ = bleveEngine.Start()
|
||||
th.App.Srv().SearchEngine.RegisterBleveEngine(bleveEngine)
|
||||
|
||||
mockStore := th.App.Srv().Store.(*mocks.Store)
|
||||
mockUserStore := mocks.UserStore{}
|
||||
|
|
|
|||
Loading…
Reference in a new issue