summaryrefslogtreecommitdiffstats
path: root/api4/channel_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/channel_test.go')
-rw-r--r--api4/channel_test.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/api4/channel_test.go b/api4/channel_test.go
index 551a1a484..f871e66ea 100644
--- a/api4/channel_test.go
+++ b/api4/channel_test.go
@@ -1924,13 +1924,15 @@ func TestUpdateChannelScheme(t *testing.T) {
channel, _ = th.SystemAdminClient.CreateChannel(channel)
channelScheme := &model.Scheme{
- Name: "Name",
+ DisplayName: "DisplayName",
+ Name: model.NewId(),
Description: "Some description",
Scope: model.SCHEME_SCOPE_CHANNEL,
}
channelScheme, _ = th.SystemAdminClient.CreateScheme(channelScheme)
teamScheme := &model.Scheme{
- Name: "Name",
+ DisplayName: "DisplayName",
+ Name: model.NewId(),
Description: "Some description",
Scope: model.SCHEME_SCOPE_TEAM,
}