Files
imphnen-backend-service/tests/Cargo.toml
T
MythEclipse 1a2e0c58b6 Add comprehensive tests for mentor repository and authentication
- 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.
2025-07-21 21:29:04 +07:00

29 lines
744 B
TOML

[package]
name = "tests"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
tokio.workspace = true
imphnen-iam.workspace = true
imphnen-dimentorin.workspace = true
imphnen-entities.workspace = true
imphnen-libs.workspace = true
imphnen-utils.workspace = true
http-body-util.workspace = true
hyper.workspace = true
hyper-util.workspace = true
serde_json.workspace = true
dotenvy.workspace = true
tower.workspace = true
tracing.workspace = true
surrealdb.workspace = true
serde.workspace = true
strum.workspace = true
uuid.workspace = true
rand.workspace = true
async-trait.workspace = true
chrono.workspace = true
axum.workspace = true