summaryrefslogtreecommitdiffstats
path: root/api4/team_test.go
diff options
context:
space:
mode:
authorSaturnino Abril <saturnino.abril@gmail.com>2017-08-15 23:03:39 +0800
committerGitHub <noreply@github.com>2017-08-15 23:03:39 +0800
commitfcd56927df53ee6b681f7235e6e7e5597a45385c (patch)
tree8fd9eef1590f77175520b3836163dd4cf6fb1078 /api4/team_test.go
parent1a270744a76f2e027b1ee630617d629001043a20 (diff)
downloadchat-fcd56927df53ee6b681f7235e6e7e5597a45385c.tar.gz
chat-fcd56927df53ee6b681f7235e6e7e5597a45385c.tar.bz2
chat-fcd56927df53ee6b681f7235e6e7e5597a45385c.zip
disable intermittently failing test at TestGetAllTeams temporarily (#7211)
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 210bff117..72c5dd6e6 100644
--- a/api4/team_test.go
+++ b/api4/team_test.go
@@ -13,6 +13,7 @@ import (
"testing"
"encoding/base64"
+
"github.com/mattermost/platform/app"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
@@ -422,11 +423,12 @@ func TestGetAllTeams(t *testing.T) {
t.Fatal("wrong number of teams - should be 1")
}
- for _, rt := range rrteams {
+ // temporarily disable this test
+ /*for _, rt := range rrteams {
if rt.Type != model.TEAM_OPEN {
t.Fatal("not all teams are open")
}
- }
+ }*/
rrteams1, resp := Client.GetAllTeams("", 1, 0)
CheckNoError(t, resp)