diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-10-15 14:53:14 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-10-15 14:53:14 -0400 |
commit | bd2fec0fb16783049ec555d8015f49a0ed3ccf80 (patch) | |
tree | 2802e98b622ac3825cee77ef8d6cc2c23cff7475 /web | |
parent | 5f1734a3c294d1a6ca453a0b3dbb7f67f97cf4a5 (diff) | |
parent | de717aef56dfaa0b9b676ce82d4b9d7abdb12428 (diff) | |
download | chat-bd2fec0fb16783049ec555d8015f49a0ed3ccf80.tar.gz chat-bd2fec0fb16783049ec555d8015f49a0ed3ccf80.tar.bz2 chat-bd2fec0fb16783049ec555d8015f49a0ed3ccf80.zip |
Merge pull request #1077 from mattermost/mark-tests
Marking when user ran the unit tests
Diffstat (limited to 'web')
-rw-r--r-- | web/web_test.go | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/web/web_test.go b/web/web_test.go index ae29356c1..4e15037ad 100644 --- a/web/web_test.go +++ b/web/web_test.go @@ -4,15 +4,16 @@ package web import ( - "github.com/mattermost/platform/api" - "github.com/mattermost/platform/model" - "github.com/mattermost/platform/store" - "github.com/mattermost/platform/utils" "net/http" "net/url" "strings" "testing" "time" + + "github.com/mattermost/platform/api" + "github.com/mattermost/platform/model" + "github.com/mattermost/platform/store" + "github.com/mattermost/platform/utils" ) var ApiClient *model.Client @@ -27,6 +28,8 @@ func Setup() { InitWeb() URL = "http://localhost" + utils.Cfg.ServiceSettings.ListenAddress ApiClient = model.NewClient(URL) + + api.Srv.Store.MarkSystemRanUnitTests() } } |