diff --git a/server/tests/routes/detectors.test.js b/server/tests/routes/detectors.test.js index 5efcc07..4290b38 100644 --- a/server/tests/routes/detectors.test.js +++ b/server/tests/routes/detectors.test.js @@ -416,7 +416,7 @@ describe('Detectors Routes', () => { expect(response.body.success).to.be.false; expect(response.body).to.have.property('message'); expect(response.body.message).to.be.a('string'); - expect(response.body).to.have.property('errors'); + expect(response.body).to.have.property('details'); }); it('should log detection data for debugging', async () => {