summaryrefslogtreecommitdiffstats
path: root/store
diff options
context:
space:
mode:
Diffstat (limited to 'store')
-rw-r--r--store/sql_channel_store_test.go4
-rw-r--r--store/sql_post_store_test.go4
2 files changed, 1 insertions, 7 deletions
diff --git a/store/sql_channel_store_test.go b/store/sql_channel_store_test.go
index 519fdea6a..d7d99f581 100644
--- a/store/sql_channel_store_test.go
+++ b/store/sql_channel_store_test.go
@@ -766,8 +766,6 @@ func TestGetMemberCount(t *testing.T) {
}
Must(store.Channel().Save(&c2))
- t.Logf("c1.Id = %v", c1.Id)
-
u1 := &model.User{
Email: model.NewId(),
DeleteAt: 0,
@@ -872,8 +870,6 @@ func TestUpdateExtrasByUser(t *testing.T) {
}
Must(store.Channel().Save(&c2))
- t.Logf("c1.Id = %v", c1.Id)
-
u1 := &model.User{
Email: model.NewId(),
DeleteAt: 0,
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]