Merge pull request #486 from asubset/master

Fix getParentsPosts() query
Этот коммит содержится в:
Joram Wilander
2015-08-28 07:51:17 -04:00
родитель 02bbe79aa2 879fa084c9
Коммит 2bc6451e39
3 изменённых файлов: 5 добавлений и 4 удалений

Просмотреть файл

@@ -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")
}