Skip to content

Node.js based forum software built for the modern web

test: mainPost removed from inf scroll

Barış Soner Uşaklıaac0792ab8a9
diff --git a/test/topics.js b/test/topics.js
index a50157cc8d..a8cad19d1c 100644
--- a/test/topics.js
+++ b/test/topics.js
@@ -1365,7 +1365,6 @@ describe('Topic\'s', () => {
it('should infinite load topic posts', (done) => {
socketTopics.loadMore({ uid: adminUid }, { tid: tid, after: 0, count: 10 }, (err, data) => {
assert.ifError(err);
- assert(data.mainPost);
assert(data.posts);
assert(data.privileges);
done();