Pārlūkot izejas kodu

fix setup-check test

Signed-off-by: Simon L <szaimen@e.mail.de>
Simon L 11 mēneši atpakaļ
vecāks
revīzija
55c7f6f8c5
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      core/js/tests/specs/setupchecksSpec.js

+ 2 - 2
core/js/tests/specs/setupchecksSpec.js

@@ -1971,8 +1971,8 @@ describe('OC.SetupChecks tests', function() {
 
 		async.done(function( data, s, x ){
 			expect(data).toEqual([{
-				msg: 'Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead, as described in the <a target="_blank" rel="noreferrer noopener" class="external" href="https://docs.example.org/admin-security">security tips ↗</a>.',
-				type: OC.SetupChecks.MESSAGE_TYPE_WARNING
+				msg: 'Accessing site insecurely via HTTP. You are strongly advised to set up your server to require HTTPS instead, as described in the <a target="_blank" rel="noreferrer noopener" class="external" href="https://docs.example.org/admin-security">security tips ↗</a>. Without it some important web functionality like "copy to clipboard" or "service workers" will not work!',
+				type: OC.SetupChecks.MESSAGE_TYPE_ERROR
 			}]);
 			done();
 		});