Revert "feat: email register refactor" (#25367)
This commit is contained in:
parent
598ec07c91
commit
ea61420441
34 changed files with 79 additions and 1916 deletions
|
|
@ -10,6 +10,7 @@ from services.account_service import AccountService, RegisterService, TenantServ
|
|||
from services.errors.account import (
|
||||
AccountAlreadyInTenantError,
|
||||
AccountLoginError,
|
||||
AccountNotFoundError,
|
||||
AccountPasswordError,
|
||||
AccountRegisterError,
|
||||
CurrentPasswordIncorrectError,
|
||||
|
|
@ -194,7 +195,7 @@ class TestAccountService:
|
|||
|
||||
# Execute test and verify exception
|
||||
self._assert_exception_raised(
|
||||
AccountPasswordError, AccountService.authenticate, "notfound@example.com", "password"
|
||||
AccountNotFoundError, AccountService.authenticate, "notfound@example.com", "password"
|
||||
)
|
||||
|
||||
def test_authenticate_account_banned(self, mock_db_dependencies):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue