diff --git a/server/tests/routes/auth.test.js b/server/tests/routes/auth.test.js index 94c0b9c..96d1270 100644 --- a/server/tests/routes/auth.test.js +++ b/server/tests/routes/auth.test.js @@ -37,6 +37,7 @@ describe('Auth Routes', () => { const response = await request(app) .post('/auth/login') + .set('x-tenant-id', 'test-tenant') // Set tenant via header for test .send({ username: 'testuser', password: 'password'