From ccea967c5e2f3f806357fda638d454866374c921 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 26 Jun 2023 12:59:05 +0200 Subject: [PATCH] fix setupcheck test Signed-off-by: Simon L --- core/js/tests/specs/setupchecksSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 43f42d2610e66..75ddfb6100300 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -2133,8 +2133,8 @@ describe('OC.SetupChecks tests', function() { async.done(function( data, s, x ){ expect(data).toEqual([{ - msg: 'The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗.', - type: OC.SetupChecks.MESSAGE_TYPE_WARNING + msg: 'The "Strict-Transport-Security" HTTP header is not set to at least "15552000" seconds. For enhanced security, it is recommended to enable HSTS as described in the security tips ↗. Without it some important web functionality like "copy to clipboard" or "service workers" will not work!', + type: OC.SetupChecks.MESSAGE_TYPE_ERROR }]); done(); });