summaryrefslogtreecommitdiffstats
path: root/api/team_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2017-06-19 09:08:52 -0700
committerGitHub <noreply@github.com>2017-06-19 09:08:52 -0700
commite2cc0df2e83d5fd8cf6a23191dc9ffb7c20ca9b0 (patch)
treea0ccc92cdb4816c41a7bc8a8cd4751690e4db83a /api/team_test.go
parent36f216cb7cb16958d98b3d77e121198596fd2213 (diff)
downloadchat-e2cc0df2e83d5fd8cf6a23191dc9ffb7c20ca9b0.tar.gz
chat-e2cc0df2e83d5fd8cf6a23191dc9ffb7c20ca9b0.tar.bz2
chat-e2cc0df2e83d5fd8cf6a23191dc9ffb7c20ca9b0.zip
PLT-6761 fixing unit tests (#6671)
Diffstat (limited to 'api/team_test.go')
-rw-r--r--api/team_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/team_test.go b/api/team_test.go
index ab0745457..e09bf42ef 100644
--- a/api/team_test.go
+++ b/api/team_test.go
@@ -305,7 +305,7 @@ func TestTeamPermDelete(t *testing.T) {
Client.Login(user1.Email, "passwd1")
Client.SetTeamId(team.Id)
- channel1 := &model.Channel{DisplayName: "TestGetPosts", Name: "a" + model.NewId() + "a", Type: model.CHANNEL_OPEN, TeamId: team.Id}
+ channel1 := &model.Channel{DisplayName: "TestGetPosts", Name: "zz" + model.NewId() + "a", Type: model.CHANNEL_OPEN, TeamId: team.Id}
channel1 = Client.Must(Client.CreateChannel(channel1)).Data.(*model.Channel)
post1 := &model.Post{ChannelId: channel1.Id, Message: "search for post1"}