From 4e539137bef5e94179b7838ab23c690046fd761d Mon Sep 17 00:00:00 2001 From: Naz Date: Mon, 4 Jul 2022 17:23:13 +0800 Subject: [PATCH] Fixed broket test refs https://github.com/TryGhost/Ghost/commit/911ce4f29eb58db03b81c95bcf4ee96f0b7c3660 - Fixed the settings snapshot for a news labs flag - Long term we should look into making the labs property match dynamically as it is updated quite often. We'll forget to update this snapshot! --- test/e2e-api/admin/__snapshots__/settings.test.js.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e-api/admin/__snapshots__/settings.test.js.snap b/test/e2e-api/admin/__snapshots__/settings.test.js.snap index 8bf90c45e3..3944770429 100644 --- a/test/e2e-api/admin/__snapshots__/settings.test.js.snap +++ b/test/e2e-api/admin/__snapshots__/settings.test.js.snap @@ -230,7 +230,7 @@ Object { }, Object { "key": "labs", - "value": "{\\"activitypub\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"members\\":true}", + "value": "{\\"activitypub\\":true,\\"urlCache\\":true,\\"beforeAfterCard\\":true,\\"sodoSearch\\":true,\\"members\\":true}", }, Object { "key": "slack_url", @@ -280,7 +280,7 @@ exports[`Settings API Browse Can request all settings 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3361", + "content-length": "3381", "content-type": "application/json; charset=utf-8", "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, "vary": "Origin, Accept-Encoding",