Removed references to page column in rss tests

refs #10922
This commit is contained in:
Fabien O'Carroll 2019-07-23 15:36:06 +08:00
parent f0afbc5cc0
commit 04d0f855de

View File

@ -16,7 +16,7 @@ describe('RSS: Generate Feed', function () {
posts = _.cloneDeep(testUtils.DataGenerator.forKnex.posts);
posts = _.filter(posts, function filter(post) {
return post.status === 'published' && post.page === false;
return post.status === 'published' && post.type === 'post';
});
_.each(posts, function (post) {