promoted bad memory_limit setting to error as it may break updater

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-12-15 22:51:37 +01:00
parent f68cab4e39
commit 1995097cb8
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
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();
});