Archived
2

switched device_name to devices

This commit is contained in:
VLE2FE
2020-08-06 13:58:12 +02:00
parent 18e0809a99
commit cc6fa48a44
20 changed files with 1318 additions and 1269 deletions

View File

@ -499,7 +499,7 @@ describe('/sample', () => {
url: '/samples?page-size=-3',
auth: {basic: 'janedoe'},
httpStatus: 400,
res: {status: 'Invalid body format', details: '"page-size" must be larger than or equal to 1'}
res: {status: 'Invalid body format', details: '"page-size" must be greater than or equal to 1'}
});
});
it('rejects an invalid from-id', done => {
@ -1047,7 +1047,7 @@ describe('/sample', () => {
auth: {basic: 'janedoe'},
httpStatus: 400,
req: {condition: {material: 'copper', weeks: 0, condition_template: '200000000000000000000001'}},
res: {status: 'Invalid body format', details: '"weeks" must be larger than or equal to 1'}
res: {status: 'Invalid body format', details: '"weeks" must be greater than or equal to 1'}
});
});
it('rejects a condition parameter above maximum range', done => {