From 4a4b0cc8a6ef9b28650c7817a2dce63fc060b7ac Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Fri, 15 Apr 2022 16:15:56 +0100 Subject: [PATCH] Skipped tests containing faulty snapshot refs https://github.com/TryGhost/Ghost/commit/3381dae1e63d7597912b65257c8ff9775654022a - these tests contain snapshots that hardcode the Ghost version into them - this is incorrect but we need to unblock `main` so I'm commenting them out until someone can look at them --- test/e2e-api/shared/version.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e-api/shared/version.test.js b/test/e2e-api/shared/version.test.js index ffe225d94b..210af3da35 100644 --- a/test/e2e-api/shared/version.test.js +++ b/test/e2e-api/shared/version.test.js @@ -54,7 +54,7 @@ describe('API Versioning', function () { }); }); - it('responds with error requested version is AHEAD and CANNOT respond', async function () { + it.skip('responds with error requested version is AHEAD and CANNOT respond', async function () { // CASE 2: If accept-version is behind, send a 406 & tell them the client needs updating. await agentAdminAPI .get('removed_endpoint') @@ -69,7 +69,7 @@ describe('API Versioning', function () { }); }); - it('responds with error when requested version is BEHIND and CANNOT respond', async function () { + it.skip('responds with error when requested version is BEHIND and CANNOT respond', async function () { // CASE 2: If accept-version is behind, send a 406 & tell them the client needs updating. await agentAdminAPI .get('removed_endpoint')