Merge pull request #39016 from nextcloud/backport/39014/stable25

[stable25] fix setup-check test
This commit is contained in:
Simon L 2023-06-26 16:39:09 +02:00 committed by GitHub
commit 67e2d4b7be
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();
});