[MM-57189] Ignore MaxUsersForStatistics when generating Support Packet (#26514)

Этот коммит содержится в:
Ben Schumacher
2024-04-08 11:09:00 +02:00
коммит произвёл GitHub
родитель 765593e89a
Коммит 5dbf874d1e
6 изменённых файлов: 122 добавлений и 22 удалений

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

@@ -398,8 +398,13 @@ func (l *License) HasSharedChannels() bool {
func NewTestLicense(features ...string) *License {
ret := &License{
ExpiresAt: GetMillis() + 90*DayInMilliseconds,
Customer: &Customer{},
Features: &Features{},
Customer: &Customer{
Id: "some ID",
Email: "admin@example.com",
Name: "Main Contact Person",
Company: "My awesome Company",
},
Features: &Features{},
}
ret.Features.SetDefaults()