Merge pull request #39014 from nextcloud/enh/noid/fix-setup-check

[stable26] fix setup-check test
This commit is contained in:
Simon L 2023-06-26 15:44:48 +02:00 committed by GitHub
commit 100c2e1c4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();
});