summaryrefslogtreecommitdiffstats
path: root/api4/team_test.go
diff options
context:
space:
mode:
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,
}