summaryrefslogtreecommitdiffstats
path: root/app/session_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/session_test.go')
-rw-r--r--app/session_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/session_test.go b/app/session_test.go
index c001655db..5915b932d 100644
--- a/app/session_test.go
+++ b/app/session_test.go
@@ -15,6 +15,7 @@ import (
func TestCache(t *testing.T) {
th := Setup().InitBasic()
+ defer th.TearDown()
session := &model.Session{
Id: model.NewId(),
@@ -39,6 +40,7 @@ func TestCache(t *testing.T) {
func TestGetSessionIdleTimeoutInMinutes(t *testing.T) {
th := Setup().InitBasic()
+ defer th.TearDown()
session := &model.Session{
UserId: model.NewId(),