diff --git a/test/unit/routes/file_spec.js b/test/unit/routes/file_spec.js index 8cb79ca..4f93bb5 100644 --- a/test/unit/routes/file_spec.js +++ b/test/unit/routes/file_spec.js @@ -8,7 +8,7 @@ describe('File API', function () { driverOptions: {}, appPort: 4111, authServerPort: 4112, - fileQuota: 1000 // set quota to 1K and test we don't exceed it + fileQuota: 2000 // set quota to 2K and test we don't exceed it }) fileApiTests({ driverType: 'localfs', @@ -17,7 +17,7 @@ describe('File API', function () { }, appPort: 4121, authServerPort: 4122, - fileQuota: 1000 // set quota to 1K and test we don't exceed it + fileQuota: 2000 // set quota to 2K and test we don't exceed it }) if (process.env.TEST_S3 !== 'false') { fileApiTests({ @@ -34,7 +34,7 @@ describe('File API', function () { }, appPort: 4131, authServerPort: 4132, - fileQuota: 1000 // set quota to 1K and test we don't exceed it + fileQuota: 2000 // set quota to 2K and test we don't exceed it }) } }) diff --git a/test/unit/setup.js b/test/unit/setup.js index dcf1a02..a483b42 100644 --- a/test/unit/setup.js +++ b/test/unit/setup.js @@ -58,7 +58,7 @@ async function setupApp (config = {}) { base_url: config.base_url || 'http://localhost:3002', driver: { type: config.fileDriverType || 'memory', - quota: config.contextQuota || 2000, // default context quota is 2KB + quota: config.fileQuota || 2000, // default context quota is 2KB options: config.fileDriverOptions || { root: 'var/root' }