test: change mocks to comply with the new validation
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user