MM-20305: Adds ability to choose whether deleted teams are included in the count query. (#13181)

Этот коммит содержится в:
Martin Kraft
2019-11-27 07:50:15 -05:00
коммит произвёл GitHub
родитель a1a2bb3130
Коммит 31ac88ef69
11 изменённых файлов: 47 добавлений и 20 удалений

Просмотреть файл

@@ -505,7 +505,7 @@ func TestImportImportTeam(t *testing.T) {
scheme2 := th.SetupTeamScheme()
// Check how many teams are in the database.
teamsCount, err := th.App.Srv.Store.Team().AnalyticsTeamCount()
teamsCount, err := th.App.Srv.Store.Team().AnalyticsTeamCount(false)
require.Nil(t, err, "Failed to get team count.")
data := TeamImportData{