ref #201
This commit is contained in:
parent
8fedd4ef3b
commit
d5c689d693
@ -22,6 +22,12 @@ describe('deletion (non-existant)', () => {
|
||||
expect(res2.status).toEqual(204);
|
||||
});
|
||||
});
|
||||
describe('deletion of citizen sould fail', () => {
|
||||
it('delete', async () => {
|
||||
const res3 = await axios.delete(base + '/api/organizations/1', axios_config);
|
||||
expect(res3.status).toEqual(400);
|
||||
});
|
||||
});
|
||||
// ---------------
|
||||
describe('adding + deletion (successfull)', () => {
|
||||
let added_org_id
|
||||
|
BIN
test.sqlite-journal
Normal file
BIN
test.sqlite-journal
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user