diff options
author | =Corey Hulen <corey@hulen.com> | 2015-10-15 11:16:26 -0700 |
---|---|---|
committer | =Corey Hulen <corey@hulen.com> | 2015-10-15 11:16:26 -0700 |
commit | de717aef56dfaa0b9b676ce82d4b9d7abdb12428 (patch) | |
tree | e35cbb702a1c6d508f3295865739186a1b3f44c9 /web/web_test.go | |
parent | adc20981e2c370f09467d4fa249065d23f533a0a (diff) | |
download | chat-de717aef56dfaa0b9b676ce82d4b9d7abdb12428.tar.gz chat-de717aef56dfaa0b9b676ce82d4b9d7abdb12428.tar.bz2 chat-de717aef56dfaa0b9b676ce82d4b9d7abdb12428.zip |
Marking when user ran the unit tests
Diffstat (limited to 'web/web_test.go')
-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() } } |