summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
author=Corey Hulen <corey@hulen.com>2015-06-16 10:16:26 -0800
committer=Corey Hulen <corey@hulen.com>2015-06-16 10:16:26 -0800
commitdae0340d7de308d2e6bc7145fb158635b5cdf0ca (patch)
tree8c8503f0c1811628e8870cc590a3617044e2aceb /store
parent2bf5a14118be909a9af0044f0f74064178f45e45 (diff)
downloadchat-dae0340d7de308d2e6bc7145fb158635b5cdf0ca.tar.gz
chat-dae0340d7de308d2e6bc7145fb158635b5cdf0ca.tar.bz2
chat-dae0340d7de308d2e6bc7145fb158635b5cdf0ca.zip
fixing unit test
Diffstat (limited to 'store')
-rw-r--r--store/sql_team_store_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_team_store_test.go b/store/sql_team_store_test.go
index 1caec467b..1b03b75fd 100644
--- a/store/sql_team_store_test.go
+++ b/store/sql_team_store_test.go
@@ -111,7 +111,7 @@ func TestTeamStoreGetByDomain(t *testing.T) {
o1.Type = model.TEAM_OPEN
if err := (<-store.Team().Save(&o1)).Err; err != nil {
- t.Fatal(rrr)
+ t.Fatal(err)
}
if r1 := <-store.Team().GetByDomain(o1.Domain); r1.Err != nil {