summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store_test.go
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-09-27 07:07:32 -0700
committerenahum <nahumhbl@gmail.com>2016-09-27 11:07:32 -0300
commitbfca752940a13c874788b0c885d36b2b263bd4fb (patch)
tree3b49bbb91b0f397f5c68644c3d9f79f240855b10 /store/sql_post_store_test.go
parent667db6e10c7bf4d3856a1f94eaad34d9e03352c1 (diff)
downloadchat-bfca752940a13c874788b0c885d36b2b263bd4fb.tar.gz
chat-bfca752940a13c874788b0c885d36b2b263bd4fb.tar.bz2
chat-bfca752940a13c874788b0c885d36b2b263bd4fb.zip
Fixing the console level debug statements (#4092)
Diffstat (limited to 'store/sql_post_store_test.go')
-rw-r--r--store/sql_post_store_test.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go
index 594e923be..6105cbace 100644
--- a/store/sql_post_store_test.go
+++ b/store/sql_post_store_test.go
@@ -880,15 +880,13 @@ func TestPostCountsByDay(t *testing.T) {
o2a = Must(store.Post().Save(o2a)).(*model.Post)
time.Sleep(1 * time.Second)
- t.Log(t1.Id)
if r1 := <-store.Post().AnalyticsPostCountsByDay(t1.Id); r1.Err != nil {
t.Fatal(r1.Err)
} else {
row1 := r1.Data.(model.AnalyticsRows)[0]
if row1.Value != 2 {
- t.Log(row1)
- t.Fatal("wrong value")
+ t.Fatal(row1)
}
row2 := r1.Data.(model.AnalyticsRows)[1]