mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:24:51 +00:00
validate email test
This commit is contained in:
@@ -14,6 +14,6 @@ describe("/verify", () => {
|
||||
// TODO: Avoid uncaught exception in application
|
||||
cy.once("uncaught:exception", () => false);
|
||||
cy.visit("/verify?userId=123&code=abc&submit=true");
|
||||
cy.contains("error validating code");
|
||||
cy.contains("The provided code is invalid.");
|
||||
});
|
||||
});
|
||||
|
||||
@@ -71,7 +71,7 @@ export default function VerifyEmailForm({
|
||||
userId,
|
||||
}).catch((error: Error) => {
|
||||
setLoading(false);
|
||||
setError(error.message);
|
||||
setError("The provided code is invalid.");
|
||||
});
|
||||
|
||||
setLoading(false);
|
||||
|
||||
Reference in New Issue
Block a user