summaryrefslogtreecommitdiffstats
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
commit7b49194d9eda3005e7bd97120dd19224ffff6c8c (patch)
tree438c7f847255d6689d36cc1449158b416063bf3c
parent22f1b86d540c860c44b9f4f3bf42a21873ff6ac0 (diff)
downloadchat-7b49194d9eda3005e7bd97120dd19224ffff6c8c.tar.gz
chat-7b49194d9eda3005e7bd97120dd19224ffff6c8c.tar.bz2
chat-7b49194d9eda3005e7bd97120dd19224ffff6c8c.zip
fixing unit test
-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 {