Files
Agniva De SarkerandGitHub c1500d628c MM-53032: Fix module path after repo rename (#23689)
It was a good decision in hindsight to keep the public module as 0.x
because this would have been a breaking change again.

https://mattermost.atlassian.net/browse/MM-53032
```release-note
Changed the Go module path from github.com/mattermost/mattermost-server/server/v8 to github.com/mattermost/mattermost/server/v8.

For the public facing module, it's path is also changed from github.com/mattermost/mattermost-server/server/public to github.com/mattermost/mattermost/server/public
```
2023-06-11 10:54:35 +05:30

33 lines
1.1 KiB
Go

// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
package slashcommands
import (
"github.com/mattermost/mattermost/server/public/model"
"github.com/mattermost/mattermost/server/v8/channels/utils"
)
const (
UserPassword = "Usr@MMTest123"
ChannelType = model.ChannelTypeOpen
BTestTeamDisplayName = "TestTeam"
BTestTeamName = "z-z-testdomaina"
BTestTeamEmail = "[email protected]"
BTestTeamType = model.TeamOpen
BTestUserName = "Mr. Testing Tester"
BTestUserEmail = "[email protected]"
BTestUserPassword = "passwd"
)
var (
TeamNameLen = utils.Range{Begin: 10, End: 20}
TeamDomainNameLen = utils.Range{Begin: 10, End: 20}
TeamEmailLen = utils.Range{Begin: 15, End: 30}
UserNameLen = utils.Range{Begin: 5, End: 20}
UserEmailLen = utils.Range{Begin: 15, End: 30}
ChannelDisplayNameLen = utils.Range{Begin: 10, End: 20}
ChannelNameLen = utils.Range{Begin: 5, End: 20}
TestImageFileNames = []string{"test.png", "testjpg.jpg", "testgif.gif"}
)