mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
test: mainPost removed from inf scroll
This commit is contained in:
@@ -1365,7 +1365,6 @@ describe('Topic\'s', () => {
|
|||||||
it('should infinite load topic posts', (done) => {
|
it('should infinite load topic posts', (done) => {
|
||||||
socketTopics.loadMore({ uid: adminUid }, { tid: tid, after: 0, count: 10 }, (err, data) => {
|
socketTopics.loadMore({ uid: adminUid }, { tid: tid, after: 0, count: 10 }, (err, data) => {
|
||||||
assert.ifError(err);
|
assert.ifError(err);
|
||||||
assert(data.mainPost);
|
|
||||||
assert(data.posts);
|
assert(data.posts);
|
||||||
assert(data.privileges);
|
assert(data.privileges);
|
||||||
done();
|
done();
|
||||||
|
|||||||
Reference in New Issue
Block a user