summaryrefslogtreecommitdiffstats
path: root/store/sql_post_store_test.go
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-12-07 15:10:03 -0500
committerJoramWilander <jwawilander@gmail.com>2015-12-07 15:10:03 -0500
commit910b3216fe78c8df53451ab33d359c42c5c5e38e (patch)
treef928ae6bc080c6da58fd07f7e0e45b0efa840bad /store/sql_post_store_test.go
parent1e34cf8ab00a56318290b3f18acd6334c971944f (diff)
downloadchat-910b3216fe78c8df53451ab33d359c42c5c5e38e.tar.gz
chat-910b3216fe78c8df53451ab33d359c42c5c5e38e.tar.bz2
chat-910b3216fe78c8df53451ab33d359c42c5c5e38e.zip
Update unit test
Diffstat (limited to 'store/sql_post_store_test.go')
-rw-r--r--store/sql_post_store_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go
index 12b50cad3..a3e3e10dd 100644
--- a/store/sql_post_store_test.go
+++ b/store/sql_post_store_test.go
@@ -445,7 +445,7 @@ func TestPostStoreGetPostsWtihDetails(t *testing.T) {
t.Fatal("invalid order")
}
- if len(r1.Posts) != 5 { //the last 4, + o1 (o3 and o2a's parent)
+ if len(r1.Posts) != 6 { //the last 4, + o1 (o2a and o3's parent) + o2 (in same thread as o2a and o3)
t.Fatal("wrong size")
}