From e8306ffa29c3c4ba003529cf431fa4cf08cfdd8f Mon Sep 17 00:00:00 2001 From: Ronald Langeveld Date: Wed, 6 Jul 2022 12:41:42 +0200 Subject: [PATCH] Revert "Revert "Updated sodo search test script with version data"" This reverts commit 7c1ef4ecd010751b14dc91742bbbf9c7b358a9ab. --- core/shared/config/env/config.testing.json | 4 ++++ test/unit/frontend/helpers/ghost_head.test.js | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/shared/config/env/config.testing.json b/core/shared/config/env/config.testing.json index d40ea27557..869d1359b6 100644 --- a/core/shared/config/env/config.testing.json +++ b/core/shared/config/env/config.testing.json @@ -54,5 +54,9 @@ "fixtures": "test/utils/fixtures/fixtures", "defaultSettings": "test/utils/fixtures/default-settings.json", "urlCache": "test/utils/fixtures/urls" + }, + "sodoSearch": { + "url": "https://unpkg.com/@tryghost/sodo-search@~0.1.0/umd/sodo-search.min.js", + "version": "0.1.0" } } diff --git a/test/unit/frontend/helpers/ghost_head.test.js b/test/unit/frontend/helpers/ghost_head.test.js index 63c06bd573..d80819709a 100644 --- a/test/unit/frontend/helpers/ghost_head.test.js +++ b/test/unit/frontend/helpers/ghost_head.test.js @@ -1750,7 +1750,7 @@ describe('{{ghost_head}} helper', function () { })).then(function (rendered) { should.exist(rendered); rendered.string.should.containEql('