MM-39690: Clean up some unnecessary logs (#20368)
These logs would appear at every request and didn't have any useful info for the admin. It was more of a developer logging thing and therefore removing it. https://mattermost.atlassian.net/browse/MM-39690 ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ce84a5d190
Коммит
319a2b2428
@@ -442,7 +442,6 @@ func TestSearchFilesInTeamForUser(t *testing.T) {
|
||||
|
||||
es := &mocks.SearchEngineInterface{}
|
||||
es.On("SearchFiles", mock.Anything, mock.Anything, page, perPage).Return(resultsPage, nil)
|
||||
es.On("GetName").Return("mock")
|
||||
es.On("Start").Return(nil).Maybe()
|
||||
es.On("IsActive").Return(true)
|
||||
es.On("IsSearchEnabled").Return(true)
|
||||
@@ -471,7 +470,6 @@ func TestSearchFilesInTeamForUser(t *testing.T) {
|
||||
|
||||
es := &mocks.SearchEngineInterface{}
|
||||
es.On("SearchFiles", mock.Anything, mock.Anything, page, perPage).Return(resultsPage, nil)
|
||||
es.On("GetName").Return("mock")
|
||||
es.On("Start").Return(nil).Maybe()
|
||||
es.On("IsActive").Return(true)
|
||||
es.On("IsSearchEnabled").Return(true)
|
||||
|
||||
@@ -1464,7 +1464,6 @@ func TestSearchPostsForUser(t *testing.T) {
|
||||
|
||||
es := &mocks.SearchEngineInterface{}
|
||||
es.On("SearchPosts", mock.Anything, mock.Anything, page, perPage).Return(resultsPage, nil, nil)
|
||||
es.On("GetName").Return("mock")
|
||||
es.On("Start").Return(nil).Maybe()
|
||||
es.On("IsActive").Return(true)
|
||||
es.On("IsSearchEnabled").Return(true)
|
||||
@@ -1492,7 +1491,6 @@ func TestSearchPostsForUser(t *testing.T) {
|
||||
|
||||
es := &mocks.SearchEngineInterface{}
|
||||
es.On("SearchPosts", mock.Anything, mock.Anything, page, perPage).Return(resultsPage, nil, nil)
|
||||
es.On("GetName").Return("mock")
|
||||
es.On("Start").Return(nil).Maybe()
|
||||
es.On("IsActive").Return(true)
|
||||
es.On("IsSearchEnabled").Return(true)
|
||||
|
||||
Ссылка в новой задаче
Block a user