android: add unit tests for token store and auth login mapping
This commit is contained in:
@@ -20,3 +20,7 @@
|
||||
- Added loading/error states for login and startup session restore.
|
||||
- Added navigation graph: `AuthGraph (login)` to placeholder `Chats` screen after successful auth.
|
||||
- Implemented automatic session restore on app start using stored tokens.
|
||||
|
||||
### Step 4 - Unit tests
|
||||
- Added `DataStoreTokenRepositoryTest` for token save/read and clear behavior.
|
||||
- Added `NetworkAuthRepositoryTest` for login success path and 401 -> `InvalidCredentials` error mapping.
|
||||
|
||||
Reference in New Issue
Block a user