1 parent 8eabdf2 commit 173a380Copy full SHA for 173a380
1 file changed
frontend/src/contexts/AuthContext.test.tsx
@@ -205,7 +205,7 @@ describe('AuthContext', () => {
205
});
206
207
const callUrl = (axios.default.post as any).mock.calls[0][0];
208
- expect(callUrl).toContain('/api/auth/login');
+ expect(callUrl).toContain('/api/v1/auth/login');
209
210
211
@@ -274,7 +274,7 @@ describe('AuthContext', () => {
274
275
276
277
- expect(callUrl).toContain('/api/auth/register');
+ expect(callUrl).toContain('/api/v1/auth/register');
278
279
280
it('sends first and last name in register payload', async () => {
0 commit comments