Fix tests.
Этот коммит содержится в:
@@ -2303,6 +2303,7 @@ func testChannelStoreMigrateChannelMembers(t *testing.T, ss store.Store) {
|
||||
func testResetAllChannelSchemes(t *testing.T, ss store.Store) {
|
||||
s1 := &model.Scheme{
|
||||
Name: model.NewId(),
|
||||
DisplayName: model.NewId(),
|
||||
Description: model.NewId(),
|
||||
Scope: model.SCHEME_SCOPE_CHANNEL,
|
||||
}
|
||||
|
||||
@@ -395,12 +395,14 @@ func testSchemeStoreDelete(t *testing.T, ss store.Store) {
|
||||
func testSchemeStorePermanentDeleteAll(t *testing.T, ss store.Store) {
|
||||
s1 := &model.Scheme{
|
||||
Name: model.NewId(),
|
||||
DisplayName: model.NewId(),
|
||||
Description: model.NewId(),
|
||||
Scope: model.SCHEME_SCOPE_TEAM,
|
||||
}
|
||||
|
||||
s2 := &model.Scheme{
|
||||
Name: model.NewId(),
|
||||
DisplayName: model.NewId(),
|
||||
Description: model.NewId(),
|
||||
Scope: model.SCHEME_SCOPE_CHANNEL,
|
||||
}
|
||||
|
||||
@@ -1176,6 +1176,7 @@ func testTeamStoreMigrateTeamMembers(t *testing.T, ss store.Store) {
|
||||
func testResetAllTeamSchemes(t *testing.T, ss store.Store) {
|
||||
s1 := &model.Scheme{
|
||||
Name: model.NewId(),
|
||||
DisplayName: model.NewId(),
|
||||
Description: model.NewId(),
|
||||
Scope: model.SCHEME_SCOPE_TEAM,
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user