diff --git a/src/features/auth/api/calls/mocks.ts b/src/features/auth/api/calls/mocks.ts index 9fda5a9..6bc88a5 100644 --- a/src/features/auth/api/calls/mocks.ts +++ b/src/features/auth/api/calls/mocks.ts @@ -4,7 +4,7 @@ import { MOCK_TOKEN } from "shared/api"; export const MOCK_EMAIL = "test@test.com"; export const MOCK_NEW_EMAIL = "new@test.com"; -export const MOCK_PASSWORD = "password"; +export const MOCK_PASSWORD = "100%GoodPassword"; export const MOCK_EXISTING_USER: User = { id: "1", diff --git a/src/features/auth/model/stores/authStore/authStore.spec.ts b/src/features/auth/model/stores/authStore/authStore.spec.ts index 6da7981..d25d6bb 100644 --- a/src/features/auth/model/stores/authStore/authStore.spec.ts +++ b/src/features/auth/model/stores/authStore/authStore.spec.ts @@ -88,7 +88,7 @@ describe("authStore", () => { it("should set error and update status if login fails", async () => { useAuthStore.getState().setEmail("wrong@test.com"); - useAuthStore.getState().setPassword("wrongPassword"); + useAuthStore.getState().setPassword("100%WrongPassword"); await useAuthStore.getState().login();