Merge pull request #140 from mattermost/fix-build

fixing build
Этот коммит содержится в:
Corey Hulen
2015-07-06 14:03:15 -08:00
родитель b418f4cd62 a84fc7b938
Коммит 2a0516f1fd

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

@@ -7,6 +7,7 @@ import (
"github.com/mattermost/platform/model"
"strings"
"testing"
"time"
)
func TestUserStoreSave(t *testing.T) {
@@ -66,6 +67,8 @@ func TestUserStoreUpdate(t *testing.T) {
u1.Email = model.NewId()
Must(store.User().Save(&u1))
time.Sleep(100 * time.Millisecond)
if err := (<-store.User().Update(&u1, false)).Err; err != nil {
t.Fatal(err)
}