Archived
2
This commit is contained in:
VLE2FE 2020-08-12 12:46:33 +02:00
parent d2dea90b3a
commit d363064dba

View File

@ -2068,7 +2068,7 @@ describe('/sample', () => {
auth: {basic: 'janedoe'},
httpStatus: 400,
req: {color: 'black', type: 'xx', batch: '1560237365', material_id: '100000000000000000000001', notes: {comment: 'Testcomment'}},
res: {status: 'Invalid body format', details: '"type" must be one of [as-delivered/raw, part]'}
res: {status: 'Invalid body format', details: '"type" must be one of [as-delivered/raw, processed]'}
});
});
it('rejects an API key', done => {