summaryrefslogtreecommitdiffstats
path: root/api/admin_test.go
diff options
context:
space:
mode:
authorDavid Lu <david.lu97@outlook.com>2016-08-19 08:08:31 -0400
committerJoram Wilander <jwawilander@gmail.com>2016-08-19 08:08:31 -0400
commit8c2ea22892079cb7f72be96ae6ddff165cda6e43 (patch)
tree8b7cc90ec3ca8d3cdb2437dcf726174e74a9903e /api/admin_test.go
parent9ad50d4d7562c1b029c888e892dd7cfc203f938a (diff)
downloadchat-8c2ea22892079cb7f72be96ae6ddff165cda6e43.tar.gz
chat-8c2ea22892079cb7f72be96ae6ddff165cda6e43.tar.bz2
chat-8c2ea22892079cb7f72be96ae6ddff165cda6e43.zip
Refactored CreatePost to not use context (#3813)
Diffstat (limited to 'api/admin_test.go')
-rw-r--r--api/admin_test.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/api/admin_test.go b/api/admin_test.go
index 013e72944..967e3ceb3 100644
--- a/api/admin_test.go
+++ b/api/admin_test.go
@@ -4,11 +4,12 @@
package api
import (
+ "strings"
+ "testing"
+
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/store"
"github.com/mattermost/platform/utils"
- "strings"
- "testing"
)
func TestGetLogs(t *testing.T) {
@@ -198,7 +199,7 @@ func TestGetTeamAnalyticsStandard(t *testing.T) {
t.Fatal()
}
- if rows[2].Value != 1 {
+ if rows[2].Value != 3 {
t.Log(rows.ToJson())
t.Fatal()
}