Adjustes responsecode
This commit is contained in:
		@@ -41,7 +41,7 @@ describe('adding + deletion (successfull)', () => {
 | 
			
		||||
describe('adding + deletion (non-existant)', () => {
 | 
			
		||||
    it('delete', async () => {
 | 
			
		||||
        const res2 = await axios.delete(base + '/api/organisations/0', { validateStatus: undefined });
 | 
			
		||||
        expect(res2.status).toEqual(200);
 | 
			
		||||
        expect(res2.status).toEqual(204);
 | 
			
		||||
        expect(res2.headers['content-type']).toContain("application/json")
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user