diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-17 07:54:30 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-06-17 07:54:30 -0700 |
commit | 8e65f38979696df993c15a5c3752f4bba91a0978 (patch) | |
tree | 7ca8cb11aed7753b04d84fedfe0630879c30a069 /store | |
parent | 9e0d4f70e01ecf8f157fed6e6145284c202bc44a (diff) | |
parent | 0d6ed4a6ab14c4fc4bbdf4bd0b63c19d896a7b48 (diff) | |
download | chat-8e65f38979696df993c15a5c3752f4bba91a0978.tar.gz chat-8e65f38979696df993c15a5c3752f4bba91a0978.tar.bz2 chat-8e65f38979696df993c15a5c3752f4bba91a0978.zip |
Merge pull request #3 from mattermost/master
to me
Diffstat (limited to 'store')
-rw-r--r-- | store/sql_team_store_test.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/store/sql_team_store_test.go b/store/sql_team_store_test.go index 981817d90..1b03b75fd 100644 --- a/store/sql_team_store_test.go +++ b/store/sql_team_store_test.go @@ -109,7 +109,10 @@ func TestTeamStoreGetByDomain(t *testing.T) { o1.Domain = "a" + model.NewId() + "b" o1.Email = model.NewId() + "@nowhere.com" o1.Type = model.TEAM_OPEN - <-store.Team().Save(&o1) + + if err := (<-store.Team().Save(&o1)).Err; err != nil { + t.Fatal(err) + } if r1 := <-store.Team().GetByDomain(o1.Domain); r1.Err != nil { t.Fatal(r1.Err) |