diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2018-08-04 21:54:00 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-08-20 15:24:10 +0200 |
commit | 7aed47f776b8175e7947bb2b202b96a3f236bdce (patch) | |
tree | 11e0a57e9ccc47389fa9d235f0abc20f7190cad0 /core/js | |
parent | c164409ee7f921a96f95e1fe95d86fe07a98963e (diff) | |
download | nextcloud-server-7aed47f776b8175e7947bb2b202b96a3f236bdce.tar.gz nextcloud-server-7aed47f776b8175e7947bb2b202b96a3f236bdce.zip |
Adds tests for the memory checks
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/tests/specs/setupchecksSpec.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/core/js/tests/specs/setupchecksSpec.js b/core/js/tests/specs/setupchecksSpec.js index bde1f6d6a79..66c84f52bc9 100644 --- a/core/js/tests/specs/setupchecksSpec.js +++ b/core/js/tests/specs/setupchecksSpec.js @@ -171,7 +171,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -219,7 +219,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -268,7 +268,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -315,7 +315,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -360,7 +360,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -405,7 +405,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -450,7 +450,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -463,7 +463,7 @@ describe('OC.SetupChecks tests', function() { }); }); - it('should return a warning if the memory limit is too small', function(done) { + it('should return a warning if the memory limit is below the recommended value', function(done) { var async = OC.SetupChecks.checkSetup(); suite.server.requests[0].respond( @@ -495,7 +495,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: false + isMemoryLimitSufficient: false }) ); @@ -561,7 +561,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -607,7 +607,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -653,7 +653,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); @@ -699,7 +699,7 @@ describe('OC.SetupChecks tests', function() { cronInfo: { diffInSeconds: 0 }, - isTheMemoryLimitHighEnough: true + isMemoryLimitSufficient: true }) ); |