Merge pull request #24717 from nextcloud/enh/noid/memory_limit_to_error

promoted bad memory_limit check from warning to error as it may break updater
This commit is contained in:
blizzz 2020-12-17 13:07:35 +01:00 committed by GitHub
commit cc9cbc56b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -453,7 +453,7 @@
'core',
'The PHP memory limit is below the recommended value of 512MB.'
),
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
})
}

View File

@ -695,7 +695,7 @@ describe('OC.SetupChecks tests', function() {
async.done(function( data, s, x ){
expect(data).toEqual([{
msg: 'The PHP memory limit is below the recommended value of 512MB.',
type: OC.SetupChecks.MESSAGE_TYPE_WARNING
type: OC.SetupChecks.MESSAGE_TYPE_ERROR
}]);
done();
});