From f5ad80fc5774934b5f05c3538cd12218f2b17d21 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 4 Dec 2018 17:05:52 +0100 Subject: Add setup check for recommended PHP modules (i.e. Imagick, intl) Signed-off-by: Morris Jobke --- core/js/tests/specs/setupchecksSpec.js | 37 +++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 12 deletions(-) (limited to 'core/js/tests') diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index b8a2164de54..b6b127bae53 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -210,7 +210,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -259,7 +260,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -309,7 +311,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -357,7 +360,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -403,7 +407,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -451,7 +456,8 @@ describe('OC.SetupChecks tests', function() { isMemoryLimitSufficient: true, appDirsWithDifferentOwner: [ '/some/path' - ] + ], + recommendedPHPModules: [] }) ); @@ -497,7 +503,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -543,7 +550,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -589,6 +597,7 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, appDirsWithDifferentOwner: [], + recommendedPHPModules: [], isMemoryLimitSufficient: false }) ); @@ -656,7 +665,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -703,7 +713,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -750,7 +761,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); @@ -797,7 +809,8 @@ describe('OC.SetupChecks tests', function() { diffInSeconds: 0 }, isMemoryLimitSufficient: true, - appDirsWithDifferentOwner: [] + appDirsWithDifferentOwner: [], + recommendedPHPModules: [] }) ); -- cgit v1.2.3