Commit 465c48c
committed
test: add comprehensive authentication state tests
Add unit tests for all authentication flows in the Core:
- Login: loading state, success/failure handling, error clearing
- Logout: session cleanup, error handling
- Set password: initial password setup flow
- Update password: password change with validation
- Check requires password: state management
Tests are colocated with the auth handler code following Rust conventions.
Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>1 parent 3aefee4 commit 465c48c
3 files changed
+357
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
This file was deleted.
0 commit comments