diff --git a/frontend/vue-app/src/__tests__/UserProfile.spec.ts b/frontend/vue-app/src/__tests__/UserProfile.spec.ts index 293cf0f..ed4a574 100644 --- a/frontend/vue-app/src/__tests__/UserProfile.spec.ts +++ b/frontend/vue-app/src/__tests__/UserProfile.spec.ts @@ -193,14 +193,14 @@ describe('UserProfile - Delete Account', () => { expect(mockLogoutUser).toHaveBeenCalled() }) - it('redirects to login after sign-out', async () => { + it('redirects to landing page after sign-out', async () => { const pushSpy = vi.spyOn(mockRouter, 'push') wrapper.vm.showDeleteSuccess = true await wrapper.vm.handleDeleteSuccess() await nextTick() - expect(pushSpy).toHaveBeenCalledWith('/auth/login') + expect(pushSpy).toHaveBeenCalledWith('/') }) it('closes error modal when Close button is clicked', async () => {