From 384be2a79e7f5858ff87b3d3151a5c464e7843fe Mon Sep 17 00:00:00 2001 From: Ryan Kegel Date: Thu, 5 Mar 2026 12:32:04 -0500 Subject: [PATCH] feat: update sign-out redirect to landing page --- frontend/vue-app/src/__tests__/UserProfile.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () => {