diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-08-16 20:55:38 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-08-17 09:45:11 +0200 |
commit | 1c38a83927ba318b1ef5115c0fe2fda0cdb5e454 (patch) | |
tree | 6d2ce15eb24ffb1debefe5236bb69ce01763a08c /tests/lib/Settings | |
parent | f0eb882c2e72e1c855ec3ddc0dfe87936babbd76 (diff) | |
download | nextcloud-server-1c38a83927ba318b1ef5115c0fe2fda0cdb5e454.tar.gz nextcloud-server-1c38a83927ba318b1ef5115c0fe2fda0cdb5e454.zip |
Always log cron execution
There was a setting to disable the last execution of cron. There is no known
problem with this write access and it was also questioned when this feature
was build in https://github.com/owncloud/core/pull/7689#issuecomment-38264707
Recently there was also a bug report about a non-visible last cron execution
(#6088) - let's better remove this.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib/Settings')
-rw-r--r-- | tests/lib/Settings/Admin/ServerTest.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/lib/Settings/Admin/ServerTest.php b/tests/lib/Settings/Admin/ServerTest.php index a71aef0178e..106390f25a5 100644 --- a/tests/lib/Settings/Admin/ServerTest.php +++ b/tests/lib/Settings/Admin/ServerTest.php @@ -80,12 +80,12 @@ class ServerTest extends TestCase { ->with('core', 'backgroundjobs_mode', 'ajax') ->willReturn('ajax'); $this->config - ->expects($this->at(4)) + ->expects($this->at(3)) ->method('getAppValue') ->with('core', 'lastcron', false) ->willReturn(false); $this->config - ->expects($this->at(5)) + ->expects($this->at(4)) ->method('getAppValue') ->with('core', 'cronErrors') ->willReturn(''); @@ -94,11 +94,6 @@ class ServerTest extends TestCase { ->method('getSystemValue') ->with('check_for_working_wellknown_setup', true) ->willReturn(true); - $this->config - ->expects($this->at(3)) - ->method('getSystemValue') - ->with('cron_log', true) - ->willReturn(true); $this->l10n ->expects($this->at(0)) ->method('t') @@ -139,7 +134,6 @@ class ServerTest extends TestCase { // Background jobs 'backgroundjobs_mode' => 'ajax', - 'cron_log' => true, 'lastcron' => false, 'cronErrors' => '', 'cli_based_cron_possible' => true, |