From ae85b92899eb134a00c0d8a9fea5225993124270 Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 24 May 2021 13:51:38 +0400 Subject: [PATCH] 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 --- test/regression/models/model_posts_spec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/regression/models/model_posts_spec.js b/test/regression/models/model_posts_spec.js index 88bd16dd84..6555d6a5c2 100644 --- a/test/regression/models/model_posts_spec.js +++ b/test/regression/models/model_posts_spec.js @@ -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'); });