Skip to content

Commit

Permalink
Merge pull request #39016 from nextcloud/backport/39014/stable25
Browse files Browse the repository at this point in the history
[stable25] fix setup-check test
  • Loading branch information
szaimen authored Jun 26, 2023
2 parents d9d6fbd + 8c3b3a6 commit 67e2d4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/js/tests/specs/setupchecksSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
Expand Down

0 comments on commit 67e2d4b

Please sign in to comment.