fixing build

This commit is contained in:
=Corey Hulen
2015-07-06 14:02:42 -08:00
parent b418f4cd62
commit a84fc7b938

View File

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