Refactored CreatePost to not use context (#3813)

Этот коммит содержится в:
David Lu
2016-08-19 08:08:31 -04:00
коммит произвёл Joram Wilander
родитель 9ad50d4d75
Коммит 8c2ea22892
10 изменённых файлов: 5855 добавлений и 67 удалений

Просмотреть файл

@@ -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()
}