test: change mocks to comply with the new validation

This commit is contained in:
Ilia Mashkov
2026-03-25 10:43:47 +03:00
parent 542de6c540
commit 87511398fb
2 changed files with 2 additions and 2 deletions

View File

@@ -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",

View File

@@ -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();