From 85d83b4f088a99d3917e09f6b6cf42e7f828f91d Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Fri, 11 Oct 2019 14:14:46 +0700 Subject: [PATCH] Fixed regression test for canary content api no-issue We now return the visibility field on the content api --- core/test/regression/api/canary/content/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/test/regression/api/canary/content/utils.js b/core/test/regression/api/canary/content/utils.js index 404f62d161..ab1cad5db5 100644 --- a/core/test/regression/api/canary/content/utils.js +++ b/core/test/regression/api/canary/content/utils.js @@ -20,7 +20,7 @@ const expectedProperties = { // and always returns computed properties: url, primary_tag, primary_author .concat('url', 'primary_tag', 'primary_author') // canary API doesn't return unused fields - .without('locale', 'visibility') + .without('locale') // These fields aren't useful as they always have known values .without('status') // @TODO: https://github.com/TryGhost/Ghost/issues/10335