summaryrefslogtreecommitdiffstats
path: root/api4/team_test.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-02-02 11:46:42 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-02-02 11:46:42 -0500
commit365514174ef00dcf426b2b5704c3d7adebe926e1 (patch)
tree41f5544aed1b822ae4e476c9ede496ce740d5048 /api4/team_test.go
parent60be5c902fe30c978d5b30f265509dc28c451407 (diff)
downloadchat-365514174ef00dcf426b2b5704c3d7adebe926e1.tar.gz
chat-365514174ef00dcf426b2b5704c3d7adebe926e1.tar.bz2
chat-365514174ef00dcf426b2b5704c3d7adebe926e1.zip
Add tear down to APIv4 tests (#5250)
* Add tear down to APIv4 tests * Defer tear downs
Diffstat (limited to 'api4/team_test.go')
-rw-r--r--api4/team_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/api4/team_test.go b/api4/team_test.go
index ba7ad094e..90f237151 100644
--- a/api4/team_test.go
+++ b/api4/team_test.go
@@ -14,6 +14,7 @@ import (
func TestCreateTeam(t *testing.T) {
th := Setup().InitBasic()
+ defer TearDown()
Client := th.Client
team := &model.Team{Name: GenerateTestUsername(), DisplayName: "Some Team", Type: model.TEAM_OPEN}