diff options
author | Jason Rossman <Jason_Rossman@playstation.sony.com> | 2015-08-27 12:45:47 -0600 |
---|---|---|
committer | Jason Rossman <Jason_Rossman@playstation.sony.com> | 2015-08-27 12:45:47 -0600 |
commit | 879fa084c9bea87f655dc3025928a251a845980a (patch) | |
tree | bedf1c2bf6d21c2efcbc1f023ba892866f32eae5 /store/sql_post_store_test.go | |
parent | 4aafff7f83359531cb2e110f4b7c080e33407cc3 (diff) | |
download | chat-879fa084c9bea87f655dc3025928a251a845980a.tar.gz chat-879fa084c9bea87f655dc3025928a251a845980a.tar.bz2 chat-879fa084c9bea87f655dc3025928a251a845980a.zip |
fix GetParentPosts() query
Diffstat (limited to 'store/sql_post_store_test.go')
-rw-r--r-- | store/sql_post_store_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/sql_post_store_test.go b/store/sql_post_store_test.go index 336a20d98..5855607fd 100644 --- a/store/sql_post_store_test.go +++ b/store/sql_post_store_test.go @@ -374,7 +374,7 @@ func TestPostStoreGetPostsWtihDetails(t *testing.T) { t.Fatal("invalid order") } - if len(r1.Posts) != 6 { + if len(r1.Posts) != 5 { //the last 4, + o1 (o3 and o2a's parent) t.Fatal("wrong size") } |