switched device_name to devices
This commit is contained in:
@ -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 => {
|
||||
|
Reference in New Issue
Block a user