feature/201-no_citizen-deletion #202

Merged
niggl merged 2 commits from feature/201-no_citizen-deletion into dev 2023-02-15 13:54:54 +00:00
2 changed files with 6 additions and 0 deletions
Showing only changes of commit d5c689d693 - Show all commits

View File

@ -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

Binary file not shown.