Unskipped and fixed a test suite for post models' findPage

refs https://github.com/TryGhost/Team/issues/694

- Unskipping the test does not seem to be causing a failure any longer. Removed the skip as it would be causing linting errors as we tighten up the `.skip` rules
This commit is contained in:
Naz 2021-05-24 13:51:38 +04:00 committed by naz
parent 01ac1acfcb
commit ae85b92899

View File

@ -84,13 +84,15 @@ describe('Post Model', function () {
});
describe('findPage', function () {
// @TODO: this test case fails for mysql currently if you run all regression tests, the test does not fail if you run this as a single test
describe.skip('with more posts/tags', function () {
describe('with more posts/tags', function () {
beforeEach(function () {
return testUtils.truncate('posts_tags')
.then(function () {
return testUtils.truncate('tags');
})
.then(function () {
return testUtils.truncate('posts_meta');
})
.then(function () {
return testUtils.truncate('posts');
});