Marking when user ran the unit tests

Этот коммит содержится в:
=Corey Hulen
2015-10-15 11:16:26 -07:00
родитель adc20981e2
Коммит de717aef56
8 изменённых файлов: 49 добавлений и 15 удалений

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

@@ -4,10 +4,11 @@
package store
import (
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
"strings"
"testing"
"github.com/mattermost/platform/model"
"github.com/mattermost/platform/utils"
)
var store Store
@@ -16,6 +17,8 @@ func Setup() {
if store == nil {
utils.LoadConfig("config.json")
store = NewSqlStore()
store.MarkSystemRanUnitTests()
}
}