From a6c7cdd75e900cf4f241eaacdb85b260995833c7 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 12 Jan 2016 09:15:57 +0100 Subject: [PATCH] Show the well-known URL check as info instead of error * ref https://github.com/owncloud/core/pull/21562#issuecomment-170344549 --- core/js/setupchecks.js | 2 +- core/js/tests/specs/setupchecksSpec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index b1b8dd358d..7940e7e30a 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -61,7 +61,7 @@ var docUrl = placeholderUrl.replace('PLACEHOLDER', 'admin-setup-well-known-URL'); messages.push({ msg: t('core', 'Your web server is not set up properly to resolve "{url}". Further information can be found in our documentation.', { docLink: docUrl, url: url }), - type: OC.SetupChecks.MESSAGE_TYPE_ERROR + type: OC.SetupChecks.MESSAGE_TYPE_INFO }); } deferred.resolve(messages); diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index 18ba44ac61..434b30a41b 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -69,7 +69,7 @@ describe('OC.SetupChecks tests', function() { async.done(function( data, s, x ){ expect(data).toEqual([{ msg: 'Your web server is not set up properly to resolve "/.well-known/caldav/". Further information can be found in our documentation.', - type: OC.SetupChecks.MESSAGE_TYPE_ERROR + type: OC.SetupChecks.MESSAGE_TYPE_INFO }]); done(); });