Skip to content

Commit

Permalink
align fileQuota parameter in test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mcl committed Dec 23, 2022
1 parent a7b50fd commit 453fbfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/unit/routes/file_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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({
Expand All @@ -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
})
}
})
Expand Down
2 changes: 1 addition & 1 deletion test/unit/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit 453fbfc

Please sign in to comment.