Mm 30807 granular data retention scaffold (#16891)
create the necessary tables, models and APIs for the granular data retention policy feature
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
03473f98ac
Коммит
3ea75332e7
@@ -606,7 +606,7 @@ func (*TestHelper) ResetEmojisMigration() {
|
||||
}
|
||||
|
||||
func (th *TestHelper) CheckTeamCount(t *testing.T, expected int64) {
|
||||
teamCount, err := th.App.Srv().Store.Team().AnalyticsTeamCount(false)
|
||||
teamCount, err := th.App.Srv().Store.Team().AnalyticsTeamCount(nil)
|
||||
require.NoError(t, err, "Failed to get team count.")
|
||||
require.Equalf(t, teamCount, expected, "Unexpected number of teams. Expected: %v, found: %v", expected, teamCount)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user