diff --git a/server/tests/routes/detections.test.js b/server/tests/routes/detections.test.js index 6109ac5..601201a 100644 --- a/server/tests/routes/detections.test.js +++ b/server/tests/routes/detections.test.js @@ -272,6 +272,9 @@ describe('Detections Routes', () => { .get('/detections') .set('Authorization', `Bearer ${token}`); + console.log('🔍 Inactive tenant test - Response status:', response.status); + console.log('🔍 Inactive tenant test - Response body:', response.body); + expect(response.status).to.equal(403); expect(response.body.success).to.be.false; expect(response.body.message).to.equal('Tenant is inactive');