From 02ea81fddabd1d3ab8f31ec9ff415f2adfebe32e Mon Sep 17 00:00:00 2001 From: Naz Date: Thu, 13 May 2021 16:20:28 +0400 Subject: [PATCH] Removed dead code refs https://github.com/TryGhost/Ghost/commit/d698a2b431f671dcbc6bbf1b652bd546d68b73f6 - This code is not needed since the switch to "allowlist" approach --- test/api-acceptance/content/utils.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/api-acceptance/content/utils.js b/test/api-acceptance/content/utils.js index f871b394b1..c9f8d32003 100644 --- a/test/api-acceptance/content/utils.js +++ b/test/api-acceptance/content/utils.js @@ -81,23 +81,6 @@ const expectedProperties = { ] }; -_.each(expectedProperties, (value, key) => { - if (!value.__wrapped__) { - return; - } - - /** - * @deprecated: x_by - */ - expectedProperties[key] = value - .without( - 'created_by', - 'updated_by', - 'published_by' - ) - .value(); -}); - module.exports = { API: { getApiQuery(route) {