Updated tests
continuous-integration/drone/pr Build is passing Details

ref #201
This commit is contained in:
Nicolai Ort 2023-02-15 14:35:58 +01:00
parent 8fedd4ef3b
commit d5c689d693
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 6 additions and 0 deletions

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.