summaryrefslogtreecommitdiffstats
path: root/api4/team_test.go
diff options
context:
space:
mode:
authorMartin Kraft <mkraft@users.noreply.github.com>2018-05-17 11:37:00 -0400
committerGitHub <noreply@github.com>2018-05-17 11:37:00 -0400
commite0390632b3c941670671d968b8828bcefbf71581 (patch)
treed4eb82a217aa45c5be8a3afb2fc1d2d7ed5d6b37 /api4/team_test.go
parent463065c8ba4b4aece7fd9b7764ba917df3e73292 (diff)
downloadchat-e0390632b3c941670671d968b8828bcefbf71581.tar.gz
chat-e0390632b3c941670671d968b8828bcefbf71581.tar.bz2
chat-e0390632b3c941670671d968b8828bcefbf71581.zip
MM-10264: Adds CLI command to import and export permissions. (#8787)
* MM-10264: Adds CLI command to import and export permissions. * MM-10264: Changes Scheme Name to DisplayName and adds Name slug field. * MM-10264: Changes display name max size. * MM-10264: Another merge fix. * MM-10264: Changes for more Schemes methods checking for migration. * MM-10264: More updates for Schemes migration checking.
Diffstat (limited to 'api4/team_test.go')
-rw-r--r--api4/team_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/api4/team_test.go b/api4/team_test.go
index 45d8e8f08..a3f4af0cf 100644
--- a/api4/team_test.go
+++ b/api4/team_test.go
@@ -2083,13 +2083,15 @@ func TestUpdateTeamScheme(t *testing.T) {
team, _ = th.SystemAdminClient.CreateTeam(team)
teamScheme := &model.Scheme{
- Name: "Name",
+ DisplayName: "DisplayName",
+ Name: model.NewId(),
Description: "Some description",
Scope: model.SCHEME_SCOPE_TEAM,
}
teamScheme, _ = th.SystemAdminClient.CreateScheme(teamScheme)
channelScheme := &model.Scheme{
- Name: "Name",
+ DisplayName: "DisplayName",
+ Name: model.NewId(),
Description: "Some description",
Scope: model.SCHEME_SCOPE_CHANNEL,
}