summaryrefslogtreecommitdiffstats
path: root/app/channel_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/channel_test.go')
-rw-r--r--app/channel_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/channel_test.go b/app/channel_test.go
index 34a9d8150..b1d403896 100644
--- a/app/channel_test.go
+++ b/app/channel_test.go
@@ -9,6 +9,7 @@ import (
func TestPermanentDeleteChannel(t *testing.T) {
th := Setup().InitBasic()
+ defer th.TearDown()
incomingWasEnabled := utils.Cfg.ServiceSettings.EnableIncomingWebhooks
outgoingWasEnabled := utils.Cfg.ServiceSettings.EnableOutgoingWebhooks
@@ -67,6 +68,7 @@ func TestPermanentDeleteChannel(t *testing.T) {
func TestMoveChannel(t *testing.T) {
th := Setup().InitBasic()
+ defer th.TearDown()
sourceTeam := th.CreateTeam()
targetTeam := th.CreateTeam()