- Implemented tests for creating, retrieving, updating, and deleting mentors in `mentor_repository_test.rs`. - Added tests for user authentication, including successful login, invalid email formats, and inactive users in `auth_login_tests.rs`. - Created a mock test environment setup in `mock_test.rs` to facilitate database operations during tests. - Updated module structure to include new test files for mentors and authentication. - Ensured cleanup of the database after tests to maintain isolation and prevent side effects.
18 lines
360 B
TOML
18 lines
360 B
TOML
[package]
|
|
name = "imphnen-libs"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
imphnen-entities.workspace = true
|
|
log.workspace = true
|
|
axum.workspace = true
|
|
tokio.workspace = true
|
|
serde.workspace = true
|
|
argon2.workspace = true
|
|
lettre.workspace = true
|
|
chrono.workspace = true
|
|
surrealdb.workspace = true
|
|
jsonwebtoken.workspace = true
|
|
dotenvy.workspace = true
|